On Mar 17, 2008, at 11:07 PM, Marc Hadley wrote:
> On Mar 17, 2008, at 2:14 PM, Stefan Tilkov wrote:
>
>> On Mar 17, 2008, at 6:55 PM, Marc Hadley wrote:
>>
>>> I propose to change the parameter types that can be annotated with
>>> @*Param to include List. E.g. you could do:
>>>
>>> @GET
>>> Foo getFoo(@QueryParam("bar") List<String> bars) {...}
>>>
>>
>> My apologies if this is a dumb question, but what would the URI
>> look like? Multiple bar=... query params?
>>
> Yes, exactly.
>
How common is this? Is it common enough to merit this special
treatment? Is it maybe something that should actively be discouraged
by not supporting it?
I honestly don't know, just curious to see what prompted this.
Stefan
--
Stefan Tilkov, http://www.innoq.com/blog/st/
> Marc.