[jax-rs-spec users] [jsr339-experts] Re: link templates?

From: Bill Burke <>
Date: Mon, 02 Jul 2012 17:56:26 -0400

On 7/2/12 5:52 PM, Bill Burke wrote:
> On 7/2/12 5:47 PM, Julian Reschke wrote:
>> On 2012-07-02 23:37, Bill Burke wrote:
>>> One thing I noticed about JAX-RS 2.0 Link class is that it can't support
>>> templates. I know the original link header draft had a Link-Template
>>> header, but I couldn't find any information beyond the original draft.
>>> Anybody know what the deal is with templates?
>> Template support was not included. According to the change history (see
>> <>)
>> it was removed early; probably because URI templates were not ready; and
>> it introduced complexity that wasn't really needed.
> This is an issue for Resteasy as our old link header support allowed
> templates. I know a lot of our users use the templating feature of our
> Link header parser/object representation.

An additional side-effect is that Link.fromResourceMethod() isn't going
to be very useful either as many resource classes and/or methods will be

Bill Burke
JBoss, a division of Red Hat