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.core   
org.springframework.hateoas.hal   
 

Uses of Link in org.springframework.hateoas
 

Methods in org.springframework.hateoas that return Link
 Link Link.expand(Map<String,? extends Object> arguments)
          Turns the current template into a Link by expanding it using the given parameters.
 Link Link.expand(Object... arguments)
          Turns the current template into a Link by expanding it using the given parameters.
 Link LinkDiscoverer.findLinkWithRel(String rel, InputStream representation)
          Finds a single link with the given relation type in the given InputStream representation.
 Link LinkDiscoverer.findLinkWithRel(String rel, String representation)
          Finds a single link with the given relation type in the given String representation.
 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 Links.getLink(String rel)
          Returns the Link with the given rel.
 Link PagedResources.getNextLink()
          Returns the Link pointing to the next page (if set).
 Link PagedResources.getPreviousLink()
          Returns the Link pointing to the previous page (if set).
 Link EntityLinks.linkToCollectionResource(Class<?> type)
          Creates a Link pointing to the collection resource of the given type.
 Link EntityLinks.linkToSingleResource(Class<?> type, Object id)
          Creates a Link pointing to single resource backing the given entity type and id.
 Link EntityLinks.linkToSingleResource(Identifiable<?> entity)
          Creates a Link pointing to single resource backing the given entity.
static Link Link.valueOf(String element)
          Factory method to easily create Link instances from RFC-5988 compatible String representations of a link.
 Link LinkBuilder.withRel(String rel)
          Creates the Link built by the current builder instance with the given rel.
 Link Link.withRel(String rel)
          Returns a Link pointing to the same URI but with the given relation.
 Link LinkBuilder.withSelfRel()
          Creates the Link built by the current builder instance with the default self rel.
 Link Link.withSelfRel()
          Returns a Link pointing to the same URI but with the self relation.
 

Methods in org.springframework.hateoas that return types with arguments of type Link
 List<Link> LinkDiscoverer.findLinksWithRel(String rel, InputStream representation)
          Returns all links with the given relation type found in the given InputStream representation.
 List<Link> LinkDiscoverer.findLinksWithRel(String rel, String representation)
          Returns all links with the given relation type found in the given String representation.
 List<Link> ResourceSupport.getLinks()
          Returns all Links contained in this resource.
 List<Link> Links.getLinks(String rel)
          Returns all Links with the given relation type.
 Iterator<Link> Links.iterator()
           
 

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
Links(Link... links)
          Creates a new Links instance from the given Links.
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).
VndErrors.VndError(String logref, String message, Link... links)
          Creates a new VndErrors.VndError with the given logref, a message as well as some Links.
VndErrors(String logref, String message, Link... links)
          Creates a new VndErrors instance containing a single VndErrors.VndError with the given logref, message and optional Links.
 

Constructor parameters in org.springframework.hateoas with type arguments of type Link
Links(List<Link> links)
          Creates a new Links instance from the given Links.
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.core
 

Methods in org.springframework.hateoas.core that return Link
 Link JsonPathLinkDiscoverer.findLinkWithRel(String rel, InputStream representation)
           
 Link JsonPathLinkDiscoverer.findLinkWithRel(String rel, String representation)
           
 Link ControllerEntityLinks.linkToCollectionResource(Class<?> entity)
           
 Link DelegatingEntityLinks.linkToCollectionResource(Class<?> type)
           
 Link ControllerEntityLinks.linkToSingleResource(Class<?> entity, Object id)
           
 Link DelegatingEntityLinks.linkToSingleResource(Class<?> type, Object id)
           
 Link AbstractEntityLinks.linkToSingleResource(Identifiable<?> entity)
           
 Link LinkBuilderSupport.withRel(String rel)
           
 Link LinkBuilderSupport.withSelfRel()
           
 

Methods in org.springframework.hateoas.core that return types with arguments of type Link
 List<Link> JsonPathLinkDiscoverer.findLinksWithRel(String rel, InputStream representation)
           
 List<Link> JsonPathLinkDiscoverer.findLinksWithRel(String rel, String representation)
           
 

Uses of Link in org.springframework.hateoas.hal
 

Subclasses of Link in org.springframework.hateoas.hal
protected static class DefaultCurieProvider.Curie
          Value object to get the curie Link rendered in JSON.
 

Methods in org.springframework.hateoas.hal that return types with arguments of type Link
 List<Link> Jackson2HalModule.HalLinkListDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
 

Methods in org.springframework.hateoas.hal with parameters of type Link
 String CurieProvider.getNamespacedRelFrom(Link link)
          Returns the rel to be rendered for the given Link.
 String DefaultCurieProvider.getNamespacedRelFrom(Link link)
           
 

Method parameters in org.springframework.hateoas.hal with type arguments of type Link
 boolean Jackson2HalModule.HalLinkListSerializer.hasSingleElement(List<Link> value)
           
 boolean Jackson2HalModule.HalLinkListSerializer.isEmpty(List<Link> value)
           
 void Jackson2HalModule.HalLinkListSerializer.serialize(List<Link> value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
           
 


Spring Hateoas

Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.