Yes, UserFilter needs a one-arg String Constructor or a static valueOf 
method

public static UserFilter valueOf(String) {...}

On 2/20/2013 2:44 AM, ignou_mca wrote:
> Hi there,
>          Can you please let me know if I can pass user defined object for a 
> GET
> request on the query params using resteasy ??
>
> example :--
>
>      @GET
>      public Response getUsers(@QueryParam("query") String
> query,@QueryParam("Userfilter") UserFilter userfilter);
>
>
>
> Thanks
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to