[jax-rs-spec users] [jsr339-experts] Re: LinkBuilder buildRelativized

From: Santiago Pericas-Geertsen <>
Date: Mon, 25 Feb 2013 09:29:02 -0500

On Feb 21, 2013, at 12:37 PM, Sergey Beryozkin <> wrote:

> Hi,
> Does LinkBuilder#buildRelativized need one more parameter, baseURI, for for the link URI be resolved against, before it is actually relativized against the request URI ?
> Or is the assumption that the supplied URI has already been resolved ?

 This needs to be clarified. On the server, relative URIs should be resolved against the app's base URI. On the client, this is not clear at all (before, with UriInfo, you couldn't use this method in the client at all).

 I'll file a JIRA on this.

-- Santiago