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

[jsr339-experts] Re: Link header can contain more than one link

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 02 Jul 2012 17:50:41 -0400

On 7/2/12 5:48 PM, Julian Reschke wrote:
> On 2012-07-02 23:44, Bill Burke wrote:
>>
>>
>> On 7/2/12 5:38 PM, Julian Reschke wrote:
>>> On 2012-07-02 23:17, Bill Burke wrote:
>>>> A Link header can contain more than one link within it delimited by a
>>>> ','
>>>>
>>>> Does this conflict with Link header delegate we're supposed to provide
>>>> as an implementor? Current implemntation of Link class pretty much
>>>> assumes one link per string value.
>>>
>>> Well, there can also be multiple instances of the header field. Both
>>> should be treated the same way, right?
>>>
>> I know Tomcat, Jetty, jBossWeb do not auto separate comma-delimited
>> headers and assumed jaxrs implementations shouldn't either.
>
> They can't, unless they know the exact syntax of the header field.
>

...which brings me back to my original point that our Link
HeaderDelegate can only support 1 link string.


> Best regards, Julian
>
>

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