users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Using "anchor" attribute of "Link" header

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 21 Dec 2011 14:43:03 -0500

On 12/21/11 2:15 PM, Santiago Pericas-Geertsen wrote:
>> </cluster>; anchor="machine/gamma/stopper";
>> produces="application/json"; method="POST";rel="stopper"
>
> This proposal I'm not thrilled about. I find this use of the anchor
> non-intuitive (as well as more difficult to process), even more so than
> the link templates on the wiki. Again, the current API will allow you to
> create such a link, but it won't be processable by Client.invocation()
> --yet you could still use Client.target(…) and build your request from
> there.
>
> So -1 on #2, but I'm curious what other experts think about it?
>

Is anchor even part of the link header spec? I don't remember it being
in there.

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