[jax-rs-spec users] [jsr339-experts] Link.Builder.buildRelativized() examples?

From: Bill Burke <>
Date: Thu, 21 Mar 2013 19:18:07 -0400

I'm confused on how Link.builder.buildRelativized() along with the
corresponding baseUri() methods are supposed to work. Can you provide a
few full examples please and what the output URI would look like?

For example, I don't know if

* its underlyingUri.relativize(param) or param.relativize(underlyingUri)
* the output is equivalent to UriInfo.relativize()? or URI.relativize()?

You following me? Please provide some examples.

Bill Burke
JBoss, a division of Red Hat