On 24/05/13 15:34, Bill Burke wrote:
> Don't need param converter:
>
> @GET
> public get(@QueryParam("name") List<String> names) {}
>
> Should work.
>
Sure, a user would like to get all query parameters captured into a
bean, but I think we have a workaround, nay be even BeanParam can do
Cheers, Sergey
> On 5/24/2013 10:29 AM, Sergey Beryozkin wrote:
>> Hi
>>
>> Consider
>>
>> /bar?name=a&name=b
>>
>> @GET
>> public get(@QueryParam("name") ComplexName name) {}
>>
>> public class ComplexName {
>> List<String> names;
>> }
>>
>> Can we handle such a case with ParamConverters ?
>> Probably not, but I wonder how we could've done it...
>>
>> Sergey
>>
>>
>>
>