Spring Hateoas

Uses of Class
org.springframework.hateoas.Link

Packages that use Link
org.springframework.hateoas Value objects to ease creating Links and link driven representations for REST webservices. 
org.springframework.hateoas.mvc Spring MVC helper classes to build Links and assemble ResourceSupport types. 
 

Uses of Link in org.springframework.hateoas
 

Methods in org.springframework.hateoas that return Link
 Link ResourceSupport.getId()
          Returns the Link with a rel of REL_SELF.
 Link ResourceSupport.getLink(String rel)
          Returns the link with the given rel.
 Link LinkBuilder.withRel(String rel)
          Creates the Link built by the current builder instance with the given rel.
 Link LinkBuilder.withSelfRel()
          Creates the Link built by the current builder instance with the default self rel.
 

Methods in org.springframework.hateoas that return types with arguments of type Link
 List<Link> ResourceSupport.getLinks()
          Returns all Links contained in this resource.
 

Methods in org.springframework.hateoas with parameters of type Link
 void ResourceSupport.add(Link link)
          Adds the given link to the resource.
 

Method parameters in org.springframework.hateoas with type arguments of type Link
 void ResourceSupport.add(Iterable<Link> links)
          Adds all given Links to the resource.
 

Constructors in org.springframework.hateoas with parameters of type Link
PagedResources(Collection<T> content, PagedResources.PageMetadata metadata, Link... links)
          Creates a new PagedResources from the given content, PagedResources.PageMetadata and Links (optional).
Resource(T content, Link... links)
          Creates a new Resource with the given content and Links (optional).
Resources(Iterable<T> content, Link... links)
          Creates a Resources instance with the given content and Links (optional).
 

Constructor parameters in org.springframework.hateoas with type arguments of type Link
PagedResources(Collection<T> content, PagedResources.PageMetadata metadata, Iterable<Link> links)
          Creates a new PagedResources from the given content PagedResources.PageMetadata and Links.
Resource(T content, Iterable<Link> links)
          Creates a new Resource with the given content and Links.
Resources(Iterable<T> content, Iterable<Link> links)
          Creates a Resources instance with the given content and Links.
 

Uses of Link in org.springframework.hateoas.mvc
 

Methods in org.springframework.hateoas.mvc that return Link
 Link UriComponentsLinkBuilder.withRel(String rel)
           
 Link UriComponentsLinkBuilder.withSelfRel()
           
 


Spring Hateoas

Copyright © 2012 SpringSource, a division of VMware. All Rights Reserved.