Class RepositoryLinkBuilder
java.lang.Object
org.springframework.hateoas.server.core.LinkBuilderSupport<RepositoryLinkBuilder>
org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
- All Implemented Interfaces:
LinkBuilder
LinkBuilder
to be able to create links pointing to repositories.- Author:
- Oliver Gierke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RepositoryLinkBuilder
createNewInstance
(UriComponents components, List<Affordance> affordances) protected RepositoryLinkBuilder
getThis()
slash
(PersistentProperty<?> property) Methods inherited from class org.springframework.hateoas.server.core.LinkBuilderSupport
addAffordances, getAffordances, slash, toString, toUri, withRel, withSelfRel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.hateoas.server.LinkBuilder
withRel
-
Constructor Details
-
RepositoryLinkBuilder
- Parameters:
metadata
- must not be null.baseUri
-
-
-
Method Details
-
slash
- Specified by:
slash
in interfaceLinkBuilder
- Overrides:
slash
in classLinkBuilderSupport<RepositoryLinkBuilder>
-
slash
-
withResourceRel
-
createNewInstance
protected RepositoryLinkBuilder createNewInstance(UriComponents components, List<Affordance> affordances) - Specified by:
createNewInstance
in classLinkBuilderSupport<RepositoryLinkBuilder>
-
getThis
- Specified by:
getThis
in classLinkBuilderSupport<RepositoryLinkBuilder>
-