On Jan 27, 2009, at 12:28 PM, James Strachan wrote:
> 2009/1/27 Paul Sandoz <Paul.Sandoz_at_sun.com>:
>> Hi,
>>
>> I have added your suggestion to:
>>
>> https://jersey.dev.java.net/issues/show_bug.cgi?id=183
>>
>> Another solution i was thinking about was to provider a multipart
>> builder.
>>
>> MultipartBuilder.param("a", "b").build();
>>
>> but i think the pairs of String is better.
>
> Having tried both I'm with you, I prefer that :)
>
> I've added a patch with tests which reuses the existing queryParams()
> name in WebResource & AsyncWebResource
> https://jersey.dev.java.net/issues/show_bug.cgi?id=183
>
> so you can do things like:
> resource.path("/").queryParams("a", "foo").queryParams("b",
> "bar").get(String.class);
>
Thanks!
Paul.