public class LinkHeaders extends Object
Constructor and Description |
---|
LinkHeaders() |
Modifier and Type | Method and Description |
---|---|
LinkHeaders |
addLink(Link link) |
LinkHeaders |
addLinkObjects(MultivaluedMap<String,Object> headers,
HeaderValueProcessor factory) |
LinkHeaders |
addLinks(MultivaluedMap<String,String> headers) |
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
|
public LinkHeaders addLinks(MultivaluedMap<String,String> headers)
public LinkHeaders addLinkObjects(MultivaluedMap<String,Object> headers, HeaderValueProcessor factory)
public LinkHeaders addLink(Link link)
public Map<String,Link> getLinksByRelationship()
Copyright © 2017 JBoss by Red Hat. All rights reserved.