jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: ParamConverterProvider and bean list properties

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Fri, 24 May 2013 15:32:20 +0100

Never mind, it kind of does not make sense...(unless you think otherwise
:-))

/bar?name=a+x&name=b+y


and List<ComplexName> will work

Sergey
On 24/05/13 15:29, 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
>
>
>