Interface CurieProvider
- All Known Implementing Classes:
DefaultCurieProvider
public interface CurieProvider
API to provide HAL curie information for links.
- Since:
- 0.9
- Author:
- Oliver Gierke, Jeff Stano
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<?>
getCurieInformation
(Links links) Returns an object to render as the base curie information.Returns the rel to be rendered for the given rel.getNamespacedRelFrom
(Link link) Returns the rel to be rendered for the givenLink
.
-
Field Details
-
NONE
-
-
Method Details
-
getNamespacedRelFrom
Returns the rel to be rendered for the givenLink
. Will potentially prefix the rel but also might decide not to, depending on the actual rel.- Parameters:
link
-- Returns:
-
getNamespacedRelFor
Returns the rel to be rendered for the given rel. Will potentially prefix the rel but also might decide not to, depending on the actual rel.- Parameters:
rel
-- Returns:
- Since:
- 0.17
-
getCurieInformation
Returns an object to render as the base curie information. Implementations have to make sure, the returned instances renders as defined in the spec.- Parameters:
links
- theLinks
that have been added to the response so far.- Returns:
- must not be null.
-