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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RepositoryLinkBuildercreateNewInstance(UriComponents components, List<Affordance> affordances) protected RepositoryLinkBuildergetThis()slash(PersistentProperty<?> property) Methods inherited from class LinkBuilderSupport
addAffordances, getAffordances, slash, toString, toUri, withRel, withSelfRelMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface LinkBuilder
withRel
-
Constructor Details
-
RepositoryLinkBuilder
- Parameters:
metadata- must not be null.baseUri- must not be null.
-
-
Method Details
-
slash
- Specified by:
slashin interfaceLinkBuilder- Overrides:
slashin classLinkBuilderSupport<RepositoryLinkBuilder>
-
slash
-
withResourceRel
-
createNewInstance
protected RepositoryLinkBuilder createNewInstance(UriComponents components, List<Affordance> affordances) - Specified by:
createNewInstancein classLinkBuilderSupport<RepositoryLinkBuilder>
-
getThis
- Specified by:
getThisin classLinkBuilderSupport<RepositoryLinkBuilder>
-