jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Why do we need new UriInfo Methods?

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 29 Jan 2013 10:10:02 -0500

In the least, these methods do not belong in UriInfo. I suggest adding
build() like methods to UriBuilder:

URI relativize(URI uri, Object... params);
URI relativizeFromEncodedMap(URI base, ....);
etc.

URI resolve(URI uri, Object...);
etc.



On 1/29/2013 9:23 AM, Santiago Pericas-Geertsen wrote:
>
> On Jan 28, 2013, at 5:49 PM, Bill Burke <bburke_at_redhat.com> wrote:
>
>> relatives and resolve. I don't seem to recall us discussing this.
>>
>> -1 for these new methods. We don't need to pollute the API with esoteric use cases.
>
> This was the resolution to the long discussion between (mostly) Jan and I back in November. Proposal was sent for review 12/13.
>
> -- Santiago
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com