Hi,
> If I request a collection, than I get all?
>
> example:
> http://host.org/path1;mp1=a;mp2=b/path2;mp1=c;mp1=d
> and the resource method for path2 requests @MatrixParam("mp1")
> than the method get the 4 values [1,2,3,4]
>
You'd get just 'd' according to the rules...
But I'm wondering, would it make sense to actually get all the values ?
What about HeaderParam and QueryParam ? What if we have something like
http://host.org/path1?q=1&q=2 ? Will we get '2' for a parameter named 'q' ?
Cheers, Sergey
.dev.java.net
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland