users@jersey.java.net

Re: Regex in MatrixParams

From: amsmota <amsmota_at_gmail.com>
Date: Tue, 14 Sep 2010 11:11:55 -0700 (PDT)

I'm using JBoss AS. I'll check that again.

On 14 Sep 2010 15:48, "Paul Sandoz-2 [via Jersey]" <
ml-node+5530577-587759384-158495_at_n2.nabble.com<ml-node%2B5530577-587759384-158495_at_n2.nabble.com>>
wrote:


On Sep 13, 2010, at 7:44 AM, amsmota wrote:

> I did, but it seems the server unencode before doing ...
What server are you using? Jersey will never decode anything until it has
extracted the information from the URI because otherwise it changes the
meaning of the information.

Paul.

Cheers.

On 13 Sep 2010 15:39, "Pavel Bucek [via Jersey]" <[hidden
email]<http://user/SendEmail.jtp?type=node&node=5526579&i=0&by-user=t>>
wrote:


>>
>> Â On 9/13/10 4:20 PM, amsmota wrote:


>>
>> > Hi guys.
>> >
>> > I have a situation where a matrix param can be something like A/B/C
wi...
> List<?> Â getData(@PathParam("name")String vame,
> @MatrixParam("params")Map<String, Serializable> Â params);

>> >
>> > and I want to get something like
>> >
>> > GET /data/values;date=20/11/2010
>> >
>> >...


>> which makes sense to me.


>> Have you tried encode slashes in date param? It should look like
>>
>> GET /data/values;date=20...



------------------------------
View this message in context: Re: Regex in
MatrixParams<http://jersey.576304.n2.nabble.com/Regex-in-MatrixParams-tp5526463p5526579.html?by-user=t>
Sent from the Jersey mailing list
archive<http://jersey.576304.n2.nabble.com/?by-user=t>at Nabble.com.




------------------------------
 View message @
http://jersey.576304.n2.nabble.com/Regex-in-MatrixParams-tp5526463p5530577.html

To unsubscribe from Regex in MatrixParams, click here.

-- 
View this message in context: http://jersey.576304.n2.nabble.com/Regex-in-MatrixParams-tp5526463p5531448.html
Sent from the Jersey mailing list archive at Nabble.com.