Package org.springframework.hateoas.server
@NonNullApi
package org.springframework.hateoas.server
Server-side components for hypermedia handling.
-
ClassDescriptionAccessor to links pointing to controllers backing an entity type.Annotation to demarcate controllers that expose URI templates of a structure according to
ControllerEntityLinks
.Builder to ease buildingLink
instances.LinkBuilderFactory<T extends LinkBuilder>Factory forLinkBuilder
instances.API to provideLinkRelation
s for collections and items of the given type.LinkRelationProvider
selection context for item resource relation lookups (LinkRelationProvider.LookupContext.forItemResourceRelLookup(Class)
, collection resource relation lookupsLinkRelationProvider.LookupContext.forCollectionResourceRelLookup(Class)
or bothLinkRelationProvider.LookupContext.forType(Class)
.MethodLinkBuilderFactory<T extends LinkBuilder>Extension ofLinkBuilderFactory
for implementations that also support creatingLinkBuilder
s by pointing to a method.RepresentationModelAssembler<T,D extends RepresentationModel<?>> Interface for components that convert a domain type into aRepresentationModel
.RepresentationModelProcessor<T extends RepresentationModel<?>>SPI interface to allow components to process theRepresentationModel
instances returned from Spring MVC controllers.ARepresentationModelAssembler
based purely on the domain type, usingEntityRepresentationModel<T>
as the enclosing representation model type.Entity links API to createLink
s andLinkBuilder
instances based on an identifier function.Extension ofTypedEntityLinks
that exposes the ability to create links to collection resources as well.