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