Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST webservices. |
Modifier and Type | Method and Description |
---|---|
PagedModel.PageMetadata |
PagedModel.getMetadata()
Returns the pagination metadata.
|
Modifier and Type | Method and Description |
---|---|
static <T extends EntityModel<S>,S> |
PagedModel.wrap(Iterable<S> content,
PagedModel.PageMetadata metadata)
Factory method to easily create a
PagedModel instance from a set of entities and pagination metadata. |
Constructor and Description |
---|
PagedModel(Collection<T> content,
PagedModel.PageMetadata metadata,
Iterable<Link> links)
|
PagedModel(Collection<T> content,
PagedModel.PageMetadata metadata,
Link... links)
|
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.