public class LinkHeader extends Object
Constructor and Description |
---|
LinkHeader() |
Modifier and Type | Method and Description |
---|---|
LinkHeader |
addLink(Link link) |
LinkHeader |
addLink(String title,
String rel,
String href,
String type) |
Link |
getLinkByRelationship(String rel) |
Link |
getLinkByTitle(String title) |
List<Link> |
getLinks()
All the links defined
|
Map<String,Link> |
getLinksByRelationship()
Index of links by relationship "rel" or "rev"
|
Map<String,Link> |
getLinksByTitle()
Index of links by title
|
String |
toString() |
static LinkHeader |
valueOf(String val) |
public LinkHeader addLink(Link link)
public LinkHeader addLink(String title, String rel, String href, String type)
public Map<String,Link> getLinksByRelationship()
public static LinkHeader valueOf(String val)
Copyright © 2017 JBoss by Red Hat. All rights reserved.