com.sun.jersey.core.header
Class LinkHeaders

java.lang.Object
  extended by com.sun.jersey.core.header.LinkHeaders
Direct Known Subclasses:
WebResourceLinkHeaders

public class LinkHeaders
extends Object

A map of Link headers where each header can be retrieved using the relationship type as the key.

Author:
Paul.Sandoz@Sun.Com

Constructor Summary
LinkHeaders(javax.ws.rs.core.MultivaluedMap<String,String> headers)
           
 
Method Summary
 LinkHeader getLink(String rel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkHeaders

public LinkHeaders(javax.ws.rs.core.MultivaluedMap<String,String> headers)
            throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getLink

public LinkHeader getLink(String rel)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2011 Oracle Corporation. All Rights Reserved.