dev@jsr311.java.net

Re: JSR311: form-urlencoded question

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 25 Mar 2008 15:06:14 -0400

Good question. My initial reaction is that names (keys) are always
decoded but I'm open to persuasion.

Marc.

On Mar 25, 2008, at 2:57 PM, Bill Burke wrote:
> Another question (and this applies to query strings too), if it is
> encoded, is the map's keys encoded or decoded?
>
> Marc Hadley wrote:
>> Good idea, just as well we added annotations to the method
>> signature of MessageBodyReader.
>> Marc.
>> On Mar 25, 2008, at 2:38 PM, Bill Burke wrote:
>>> Spec says we have to support
>>>
>>> application/x-www-form-urlencoded and MultivaluedMap<String, String>
>>>
>>> Is this a decoded map? How about we combine it with @Encoded?
>>> --
>>> Bill Burke
>>> JBoss, a division of Red Hat
>>> http://bill.burkecentral.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
>>> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>>>
>> ---
>> Marc Hadley <marc.hadley at sun.com>
>> CTO Office, Sun Microsystems.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.