Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST webservices. |
org.springframework.hateoas.server | |
org.springframework.hateoas.server.mvc |
Spring MVC helper classes to build
Link s and assemble
RepresentationModel types. |
org.springframework.hateoas.server.reactive |
Modifier and Type | Class and Description |
---|---|
class |
PagedModel<T>
DTO to implement binding response representations of pageable collections.
|
Modifier and Type | Method and Description |
---|---|
static <T extends EntityModel<S>,S> |
CollectionModel.wrap(Iterable<S> content)
Creates a new
CollectionModel instance by wrapping the given domain class instances into a
EntityModel . |
Modifier and Type | Method and Description |
---|---|
default CollectionModel<EntityModel<T>> |
SimpleRepresentationModelAssembler.toCollectionModel(Iterable<? extends T> entities)
Converts all given entities into resources and wraps the collection as a resource as well.
|
default CollectionModel<D> |
RepresentationModelAssembler.toCollectionModel(Iterable<? extends T> entities)
Converts an
Iterable or T s into an Iterable of RepresentationModel and wraps them
in a CollectionModel instance. |
Modifier and Type | Method and Description |
---|---|
void |
SimpleRepresentationModelAssembler.addLinks(CollectionModel<EntityModel<T>> resources)
Define links to add to the
CollectionModel collection. |
Modifier and Type | Method and Description |
---|---|
CollectionModel<D> |
RepresentationModelAssemblerSupport.toCollectionModel(Iterable<? extends T> entities) |
Modifier and Type | Method and Description |
---|---|
default CollectionModel<EntityModel<T>> |
SimpleReactiveRepresentationModelAssembler.addLinks(CollectionModel<EntityModel<T>> resources,
org.springframework.web.server.ServerWebExchange exchange)
Define links to add to the
CollectionModel collection. |
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<CollectionModel<EntityModel<T>>> |
SimpleReactiveRepresentationModelAssembler.toCollectionModel(reactor.core.publisher.Flux<? extends T> entities,
org.springframework.web.server.ServerWebExchange exchange)
Converts all given entities into resources and wraps the collection as a resource as well.
|
default reactor.core.publisher.Mono<CollectionModel<D>> |
ReactiveRepresentationModelAssembler.toCollectionModel(reactor.core.publisher.Flux<? extends T> entities,
org.springframework.web.server.ServerWebExchange exchange)
Converts an
Iterable or T s into an Iterable of RepresentationModel and wraps them
in a CollectionModel instance. |
Modifier and Type | Method and Description |
---|---|
default CollectionModel<EntityModel<T>> |
SimpleReactiveRepresentationModelAssembler.addLinks(CollectionModel<EntityModel<T>> resources,
org.springframework.web.server.ServerWebExchange exchange)
Define links to add to the
CollectionModel collection. |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.