Uses of Interface
org.springframework.hateoas.server.LinkBuilder
Packages that use 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
Classes in org.springframework.hateoas.server with type parameters of type LinkBuilderModifier 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.Methods in org.springframework.hateoas.server that return LinkBuilderModifier 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
Classes in org.springframework.hateoas.server.core with type parameters of type LinkBuilderModifier 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>
Classes in org.springframework.hateoas.server.core that implement LinkBuilderModifier 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.Methods in org.springframework.hateoas.server.core with type parameters of type LinkBuilderModifier 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) Methods in org.springframework.hateoas.server.core that return LinkBuilderModifier and TypeMethodDescriptionAbstractEntityLinks.linkForItemResource
(Class<?> type, Object id) DelegatingEntityLinks.linkForItemResource
(Class<?> type, Object id) Method parameters in org.springframework.hateoas.server.core with type arguments of type LinkBuilderModifier and TypeMethodDescriptionvoid
ControllerEntityLinksFactoryBean.setLinkBuilderFactory
(LinkBuilderFactory<? extends LinkBuilder> linkBuilderFactory) Configures theLinkBuilderFactory
to be used to createLinkBuilder
instances.Constructor parameters in org.springframework.hateoas.server.core with type arguments of type LinkBuilderModifierConstructorDescriptionControllerEntityLinks
(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
Classes in org.springframework.hateoas.server.mvc that implement LinkBuilderModifier 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
Classes in org.springframework.hateoas.server.reactive that implement LinkBuilder