Class LinkHeader

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

public class LinkHeader extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • LinkHeader

      public LinkHeader()
  • Method Details

    • addLink

      public LinkHeader addLink(jakarta.ws.rs.core.Link link)
    • addLink

      public LinkHeader addLink(String title, String rel, String href, String type)
    • getLinkByTitle

      public jakarta.ws.rs.core.Link getLinkByTitle(String title)
    • getLinkByRelationship

      public jakarta.ws.rs.core.Link getLinkByRelationship(String rel)
    • getLinksByRelationship

      public Map<String,jakarta.ws.rs.core.Link> getLinksByRelationship()
      Index of links by relationship "rel" or "rev"
      Returns:
      map
    • getLinksByTitle

      public Map<String,jakarta.ws.rs.core.Link> getLinksByTitle()
      Index of links by title
      Returns:
      map
    • getLinks

      public List<jakarta.ws.rs.core.Link> getLinks()
      All the links defined
      Returns:
      links
    • valueOf

      public static LinkHeader valueOf(String val)
    • toString

      public String toString()
      Overrides:
      toString in class Object