Uses of Class
org.springframework.hateoas.RepresentationModel
Package
Description
Value objects to ease creating
Link
s and link driven representations for REST
webservices.HAL-specific extensions, SPIs and Jackson customizations.
Vnd.Error media type.
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 RepresentationModel in org.springframework.hateoas
Modifier and TypeClassDescriptionclass
RepresentationModel<T extends RepresentationModel<? extends T>>
Base class for DTOs to collect links.Modifier and TypeClassDescriptionclass
General helper to easily create a wrapper for a collection of entities.class
EntityModel<T>
A simpleEntityModel
wrapping a domain object and adding links to it.class
PagedModel<T>
DTO to implement binding response representations of pageable collections.class
SlicedModel<T>
DTO to implement binding response representations of Slice collections.Modifier and TypeMethodDescriptionstatic <T> RepresentationModel<?>
RepresentationModel.of
(T object) Creates a newRepresentationModel
for the given content object and no links.static <T> RepresentationModel<?>
Creates a newRepresentationModel
for the given content object and links. -
Uses of RepresentationModel in org.springframework.hateoas.mediatype.hal
Modifier and TypeClassDescriptionclass
Custom mixin to to render collection content as _embedded.class
Custom mixin to renderLink
s in HAL.Modifier and TypeMethodDescription<T extends RepresentationModel<T>>
RepresentationModel<T>HalModelBuilder.build()
Transform the entities andLink
s into aRepresentationModel
.Modifier and TypeMethodDescription<T extends RepresentationModel<T>>
RepresentationModel<T>HalModelBuilder.build()
Transform the entities andLink
s into aRepresentationModel
. -
Uses of RepresentationModel in org.springframework.hateoas.mediatype.vnderrors
Modifier and TypeClassDescriptionclass
Deprecated.static class
Deprecated.UseProblem
to form vendor neutral error messages. -
Uses of RepresentationModel in org.springframework.hateoas.server
Modifier and TypeInterfaceDescriptioninterface
RepresentationModelAssembler<T,
D extends RepresentationModel<?>> Interface for components that convert a domain type into aRepresentationModel
.interface
RepresentationModelProcessor<T extends RepresentationModel<?>>
SPI interface to allow components to process theRepresentationModel
instances returned from Spring MVC controllers. -
Uses of RepresentationModel in org.springframework.hateoas.server.core
Modifier and TypeClassDescriptionclass
HeaderLinksResponseEntity<T extends RepresentationModel<?>>
SpecialResponseEntity
that exposesLink
instances in the containedRepresentationModel
as link headers instead of in the body.Modifier and TypeMethodDescriptionstatic <S extends RepresentationModel<?>>
HeaderLinksResponseEntity<S>HeaderLinksResponseEntity.wrap
(HttpEntity<S> entity) Wraps the givenHttpEntity
into aHeaderLinksResponseEntity
.static <S extends RepresentationModel<?>>
HeaderLinksResponseEntity<S>HeaderLinksResponseEntity.wrap
(S entity) Wraps the givenRepresentationModel
into aHeaderLinksResponseEntity
. -
Uses of RepresentationModel in org.springframework.hateoas.server.mvc
Modifier and TypeClassDescriptionclass
RepresentationModelAssemblerSupport<T,
D extends RepresentationModel<?>> Base class to implementRepresentationModelAssembler
s.Modifier and TypeMethodDescription<T extends RepresentationModel<T>>
TRepresentationModelProcessorInvoker.invokeProcessorsFor
(T value) Invokes allRepresentationModelProcessor
instances registered for the type of the given value.<T extends RepresentationModel<T>>
TRepresentationModelProcessorInvoker.invokeProcessorsFor
(T value, ResolvableType referenceType) Invokes allRepresentationModelProcessor
instances registered for the type of the given value and reference type. -
Uses of RepresentationModel in org.springframework.hateoas.server.reactive
Modifier and TypeInterfaceDescriptioninterface
ReactiveRepresentationModelAssembler<T,
D extends RepresentationModel<?>> Reactive variant ofRepresentationModelAssembler
combined withSimpleRepresentationModelAssembler
.
Problem
to form vendor neutral error messages.