public interface CurieProvider
http://tools.ietf.org/html/draft-kelly-json-hal#section-8.2
Modifier and Type | Method and Description |
---|---|
Collection<? extends Object> |
getCurieInformation(Links links)
Returns an object to render as the base curie information.
|
String |
getNamespacedRelFor(String rel)
Returns the rel to be rendered for the given rel.
|
String |
getNamespacedRelFrom(Link link)
Returns the rel to be rendered for the given
Link . |
String getNamespacedRelFrom(Link link)
Link
. Will potentially prefix the rel but also might decide
not to, depending on the actual rel.link
- String getNamespacedRelFor(String rel)
rel
- Collection<? extends Object> getCurieInformation(Links links)
links
- the Links
that have been added to the response so far.Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.