org.jboss.resteasy.spi
Class LinkHeader
java.lang.Object
org.jboss.resteasy.spi.LinkHeader
public class LinkHeader
- extends java.lang.Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LinkHeader
public LinkHeader()
addLink
public LinkHeader addLink(Link link)
addLink
public LinkHeader addLink(java.lang.String title,
java.lang.String rel,
java.lang.String href,
java.lang.String type)
getLinkByTitle
public Link getLinkByTitle(java.lang.String title)
getLinkByRelationship
public Link getLinkByRelationship(java.lang.String rel)
getLinksByRelationship
public java.util.Map<java.lang.String,Link> getLinksByRelationship()
- Index of links by relationship "rel" or "rev"
- Returns:
getLinksByTitle
public java.util.Map<java.lang.String,Link> getLinksByTitle()
- Index of links by title
- Returns:
getLinks
public java.util.List<Link> getLinks()
- All the links defined
- Returns:
valueOf
public static LinkHeader valueOf(java.lang.String val)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.