Uses of Interface
org.springframework.hateoas.server.LinkBuilder
Package
Description
Server-side components for hypermedia handling.
Implementations of core API interfaces.
Spring MVC helper classes to build
Link
s and assemble
RepresentationModel
types.Spring WebFlux components to build
Link
s and assemble
RepresentationModel
types.-
Uses of LinkBuilder in org.springframework.hateoas.server
Modifier and TypeInterfaceDescriptioninterface
LinkBuilderFactory<T extends LinkBuilder>
Factory forLinkBuilder
instances.interface
MethodLinkBuilderFactory<T extends LinkBuilder>
Extension ofLinkBuilderFactory
for implementations that also support creatingLinkBuilder
s by pointing to a method.Modifier and TypeMethodDescriptionReturns aLinkBuilder
able to create links to the controller managing the given entity type.Returns aLinkBuilder
able to create links to the controller managing the given entity type, unfolding the given parameters into the URI template the backing controller is mapped to.EntityLinks.linkForItemResource
(Class<?> type, Object id) Returns aLinkBuilder
able to create links to the controller managing the given entity type and id.default <T> LinkBuilder
EntityLinks.linkForItemResource
(T entity, Function<T, Object> identifierExtractor) Returns aLinkBuilder
able to create links to the controller managing the given entity type and identifier extractor.TypedEntityLinks.linkForItemResource
(T entity) Returns aLinkBuilder
able to create links to the controller managing the given entity.Adds the given object'sString
representation as sub-resource to the current URI. -
Uses of LinkBuilder in org.springframework.hateoas.server.core
Modifier and TypeClassDescriptionclass
LinkBuilderSupport<T extends LinkBuilder>
Base class to implementLinkBuilder
s based on a Spring MVCUriComponentsBuilder
.static interface
WebHandler.LinkBuilderCreator<T extends LinkBuilder>
static interface
WebHandler.PreparedWebHandler<T extends LinkBuilder>
Modifier and TypeClassDescriptionclass
LinkBuilderSupport<T extends LinkBuilder>
Base class to implementLinkBuilder
s based on a Spring MVCUriComponentsBuilder
.class
ALinkBuilderSupport
extension that can keep a list ofTemplateVariables
around.Modifier and TypeMethodDescriptionstatic <T extends LinkBuilder>
WebHandler.PreparedWebHandler<T>WebHandler.linkTo
(Object invocationValue, WebHandler.LinkBuilderCreator<T> creator) static <T extends LinkBuilder>
TWebHandler.linkTo
(Object invocationValue, WebHandler.LinkBuilderCreator<T> creator, BiFunction<UriComponentsBuilder, MethodInvocation, UriComponentsBuilder> additionalUriHandler, Function<UriMapping, UriComponentsBuilder> finisher, Supplier<ConversionService> conversionService) Modifier and TypeMethodDescriptionAbstractEntityLinks.linkForItemResource
(Class<?> type, Object id) DelegatingEntityLinks.linkForItemResource
(Class<?> type, Object id) Modifier and TypeMethodDescriptionvoid
ControllerEntityLinksFactoryBean.setLinkBuilderFactory
(LinkBuilderFactory<? extends LinkBuilder> linkBuilderFactory) Configures theLinkBuilderFactory
to be used to createLinkBuilder
instances.ModifierConstructorDescriptionControllerEntityLinks
(Iterable<? extends Class<?>> controllerTypes, LinkBuilderFactory<? extends LinkBuilder> linkBuilderFactory) Creates a newControllerEntityLinks
inspecting the configured classes for the given annotation. -
Uses of LinkBuilder in org.springframework.hateoas.server.mvc
Modifier and TypeClassDescriptionclass
SimplesLinkBuilder
implementation possible.class
Builder to ease buildingLink
instances pointing to Spring MVC controllers. -
Uses of LinkBuilder in org.springframework.hateoas.server.reactive