Package org.springframework.hateoas.server.mvc
@NullMarked
package org.springframework.hateoas.server.mvc
Spring MVC helper classes to build
Links and assemble
RepresentationModel types.-
ClassDescriptionSimples
LinkBuilderimplementation possible.LinkRelationProviderinspectingExposesResourceForannotations on controller classes.Simple Jackson serializers and deserializers.CustomValueDeserializerfor Spring'sMediaTypeusing theMediaType.parseMediaType(String)method.Syntactic sugar to createLinkinstances fromMvcUriComponentsBuilderinvocations.RepresentationModelAssemblerSupport<T,D extends RepresentationModel<?>> Base class to implementRepresentationModelAssemblers.HandlerMethodReturnValueHandlerto post-process the objects returned from controller methods using the configuredRepresentationModelProcessors.Component to easily invoke allRepresentationModelProcessorinstances registered for values of typeRepresentationModel.RepresentationModelProcessorInvoker.ProcessorWrapperforRepresentationModelProcessors targetingCollectionModel.Extension ofMappingJackson2HttpMessageConverterto constrain the ability to read and write HTTP message based on the target type.SPI callback to enhance aUriComponentsBuilderwhen referring to a method through a dummy method invocation.Builder to ease buildingLinkinstances pointing to Spring MVC controllers.Factory forLinkBuilderSupportinstances based on the request mapping annotated on the given controller.