org.jboss.resteasy.spi
Class LinkHeader

java.lang.Object
  extended by org.jboss.resteasy.spi.LinkHeader

public class LinkHeader
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
LinkHeader()
           
 
Method Summary
 Link getLinkByRelationship(java.lang.String rel)
           
 Link getLinkByTitle(java.lang.String title)
           
 java.util.List<Link> getLinks()
          All the links defined
 java.util.Map<java.lang.String,Link> getLinksByRelationship()
          Index of links by relationship "rel" or "rev"
 java.util.Map<java.lang.String,Link> getLinksByTitle()
          Index of links by title
 java.lang.String toString()
           
static LinkHeader valueOf(java.lang.String val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkHeader

public LinkHeader()
Method Detail

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 © 2009. All Rights Reserved.