users@jersey.java.net

Suggested tweak to jersey-client WebResource.Builder class

From: Craig McClanahan <Craig.McClanahan_at_Sun.COM>
Date: Wed, 27 Aug 2008 19:49:50 -0700

In my client app, I found that I wanted to compose a resource URI with
multiple "path" segments, like you can do with UriBuilder on the server
side:

    // Call "foo/bar/baz" relative to this resource
    WebResource resource = ...;
    resource.path("foo").path("bar").path("baz").get(MyClass.class);

But this does not work ... WebResource has a path() method, but
WebResource.Builder does not. This seems like it would be very
convenient, and pretty easy to add.

Craig