Spring Hateoas

Uses of Class
org.springframework.hateoas.Resource

Packages that use Resource
org.springframework.hateoas Value objects to ease creating Links and link driven representations for REST webservices. 
 

Uses of Resource in org.springframework.hateoas
 

Methods in org.springframework.hateoas with type parameters of type Resource
static
<T extends Resource<S>,S>
Resources<T>
Resources.wrap(Iterable<S> content)
          Creates a new Resources instance by wrapping the given domain class instances into a Resource.
static
<T extends Resource<S>,S>
PagedResources<T>
PagedResources.wrap(Iterable<S> content, PagedResources.PageMetadata metadata)
          Factory method to easily create a PagedResources instance from a set of entities and pagination metadata.
 


Spring Hateoas

Copyright © 2012-2014–2014 Pivotal, Inc.. All rights reserved.