users@jersey.java.net

Client API: combining URI building with WebResource

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 25 Sep 2008 14:51:34 +0200

Hi,

I think i have an idea how to combine URI building with WebResource.
It would go something like this:

   WebResource r = ...
   r.uri().path(...).queryParam(..., ...).resource().get(...);

Basically i can duplicate most of the methods of UriBuilder so that
the build method returns a WebResource instead of a URI.

Paul.