Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST
webservices. |
org.springframework.hateoas.mediatype.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
org.springframework.hateoas.mediatype.vnderrors |
Vnd.Error media type.
|
org.springframework.hateoas.server |
Server-side components for hypermedia handling.
|
org.springframework.hateoas.server.core |
Implementations of core API interfaces.
|
org.springframework.hateoas.server.mvc |
Spring MVC helper classes to build
Link s and assemble
RepresentationModel types. |
org.springframework.hateoas.server.reactive |
Spring WebFlux components to build
Link s and assemble
RepresentationModel types. |
Modifier and Type | Class and Description |
---|---|
class |
RepresentationModel<T extends RepresentationModel<? extends T>>
Base class for DTOs to collect links.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionModel<T>
General helper to easily create a wrapper for a collection of entities.
|
class |
EntityModel<T>
A simple
EntityModel wrapping a domain object and adding links to it. |
class |
PagedModel<T>
DTO to implement binding response representations of pageable collections.
|
Modifier and Type | Method and Description |
---|---|
static <T> RepresentationModel<?> |
RepresentationModel.of(T object)
Creates a new
RepresentationModel for the given content object and no links. |
static <T> RepresentationModel<?> |
RepresentationModel.of(T object,
Iterable<Link> links)
Creates a new
RepresentationModel for the given content object and links. |
Modifier and Type | Class and Description |
---|---|
class |
CollectionModelMixin<T>
Custom mixin to to render collection content as _embedded.
|
class |
RepresentationModelMixin
Custom mixin to render
Link s in HAL. |
Modifier and Type | Method and Description |
---|---|
<T extends RepresentationModel<T>> |
HalModelBuilder.build()
Transform the entities and
Link s into a RepresentationModel . |
Modifier and Type | Method and Description |
---|---|
<T extends RepresentationModel<T>> |
HalModelBuilder.build()
Transform the entities and
Link s into a RepresentationModel . |
Modifier and Type | Class and Description |
---|---|
class |
VndErrors
Deprecated.
since 1.1, use
Problem to form vendor neutral error
messages. |
static class |
VndErrors.VndError
Deprecated.
Use
Problem to form vendor neutral error
messages. |
Modifier and Type | Interface and Description |
---|---|
interface |
RepresentationModelAssembler<T,D extends RepresentationModel<?>>
Interface for components that convert a domain type into a
RepresentationModel . |
interface |
RepresentationModelProcessor<T extends RepresentationModel<?>>
SPI interface to allow components to process the
RepresentationModel instances returned from Spring MVC
controllers. |
Modifier and Type | Class and Description |
---|---|
class |
HeaderLinksResponseEntity<T extends RepresentationModel<?>>
Special
ResponseEntity that exposes Link instances in the contained RepresentationModel as
link headers instead of in the body. |
Modifier and Type | Method and Description |
---|---|
static <S extends RepresentationModel<?>> |
HeaderLinksResponseEntity.wrap(HttpEntity<S> entity)
Wraps the given
HttpEntity into a HeaderLinksResponseEntity . |
static <S extends RepresentationModel<?>> |
HeaderLinksResponseEntity.wrap(S entity)
Wraps the given
RepresentationModel into a HeaderLinksResponseEntity . |
Modifier and Type | Class and Description |
---|---|
class |
RepresentationModelAssemblerSupport<T,D extends RepresentationModel<?>>
Base class to implement
RepresentationModelAssembler s. |
Modifier and Type | Method and Description |
---|---|
<T extends RepresentationModel<T>> |
RepresentationModelProcessorInvoker.invokeProcessorsFor(T value)
Invokes all
RepresentationModelProcessor instances registered for the type of the given value. |
<T extends RepresentationModel<T>> |
RepresentationModelProcessorInvoker.invokeProcessorsFor(T value,
ResolvableType referenceType)
Invokes all
RepresentationModelProcessor instances registered for the type of the given value and reference
type. |
Modifier and Type | Interface and Description |
---|---|
interface |
ReactiveRepresentationModelAssembler<T,D extends RepresentationModel<D>>
Reactive variant of
RepresentationModelAssembler combined with SimpleRepresentationModelAssembler . |
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.