users@jersey.java.net

UriBuilder.fromResource(Something.class) absolute

From: Christopher Piggott <cpiggott_at_gmail.com>
Date: Wed, 11 Aug 2010 17:38:13 -0400

Is there an easy way to combine what I get from

   @Context UriInfo context
   UriBuilder baseUri = context.getBasePathBuilder()

with what I get from:

   UriBuilder.fromResource( OtherResource.class )

what I want is a UriBuilder starting with the absolute path to the other
resource, rather than a relative one. I could do it by manipulating
strings, but was hoping somehow I wouldn't have to.

--C