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 |
---|---|
static <T extends Resource<S>,S> |
Resources.wrap(Iterable<S> content)
|
static <T extends Resource<S>,S> |
PagedResources.wrap(Iterable<S> content,
PagedResources.PageMetadata metadata)
Factory method to easily create a
PagedResources instance from a set of entities and pagination metadata. |
Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.