users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: can we have a LinkHeaders object?

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 04 Jul 2012 13:18:22 -0400

On 7/4/12 1:17 PM, Julian Reschke wrote:
> On 2012-07-04 19:13, Bill Burke wrote:
>> Basically encapsulate the common methods in Response and
>> ContainerResponseContext into one interface, class, or abstract class:
>>
>> public class LinkHeaders
>> {
>> public Set<Link> getLinks()
>> public boolean hasLink(String relation)
>> public Link getLink(String relation)
>
> Shouldn't the above return a Set of Links?
>

That's a separate issue as I just copied/pasted from current API.


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