Package org.springframework.hateoas.server
@NullMarked
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 buildingLinkinstances.LinkBuilderFactory<T extends LinkBuilder>Factory forLinkBuilderinstances.API to provideLinkRelations for collections and items of the given type.LinkRelationProviderselection 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 ofLinkBuilderFactoryfor implementations that also support creatingLinkBuilders 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 theRepresentationModelinstances returned from Spring MVC controllers.ARepresentationModelAssemblerbased purely on the domain type, usingEntityRepresentationModel<T>as the enclosing representation model type.Entity links API to createLinks andLinkBuilderinstances based on an identifier function.Extension ofTypedEntityLinksthat exposes the ability to create links to collection resources as well.