You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2011/06/20 17:21:40 UTC

Re: how to pass collection objects or arrays query params in restfull

Hi, List<Integer> will definitely work, perhaps would make sense
supporting arrays as well, but
it won't be portable

Cheers, Sergey

On Mon, Jun 20, 2011 at 2:50 PM, gunanup <gu...@hotmail.com> wrote:
> Hi every one,
>
>                          How can we pass collections or arrays as query
> param , below is my method signature
> @GET
>        @Path("/getSum")
>        public Response getSum(@QueryParam(value="arg1") int [] arg1) {
> //}
>
> thanks
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/how-to-pass-collection-objects-or-arrays-query-params-in-restfull-tp4506434p4506434.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Re: how to pass collection objects or arrays query params in restfull

Posted by gunanup <gu...@hotmail.com>.
thanks sergey 

--
View this message in context: http://cxf.547215.n5.nabble.com/how-to-pass-collection-objects-or-arrays-as-query-params-in-restfull-tp4506434p4510571.html
Sent from the cxf-user mailing list archive at Nabble.com.