users@jersey.java.net

Re: Matrix params

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 13 Aug 2007 16:22:11 +0200

Aditya Gore wrote:
> My bad - I should've quoted the url that I pass to wget. It works as
> expected on doing that.
>

Classic! :-) happened to me a couple of times...

In any case i have added a test.

Paul.

> :aditya
>
> On 8/13/07, Aditya Gore <aditya.gore_at_gmail.com> wrote:
>> Hi,
>>
>> I have the following method in my resource class:
>> @HttpMethod
>> public Addresses getAddresses(@MatrixParam("a") String param) {
>> System.out.println("AddressesResource.getAddresses() : " + param);
>> return addresses;
>> }
>>
>> If I invoke: wget http://localhost:9998/addresses;a=b, I expect the
>> above sysout to print "AddressesResource.getAddresses() : b". But this
>> doesn't seem to be happening!
>>
>> Am I specifying the matrix parameter incorrectly? This is with jersey-ea-0.2.
>>
>> regards,
>> :aditya
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109