Java org.springframework.hateoas Link fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.hateoas Link fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.hateoas Link.

The text is from its open source code.

Subclass

org.springframework.hateoas.Link has subclasses.
Click this link to see all its subclasses.

Field

StringATOM_NAMESPACE
LinkRelationREL_SELF
LinkRelationREL_FIRST
LinkRelationREL_PREVIOUS
LinkRelationREL_NEXT
LinkRelationREL_LAST

Constructor

Link(String href, String rel)
Creates a new Link to the given URI with the given rel.
Link(String href, LinkRelation rel)
Creates a new Link to the given URI with the given rel.
Link(UriTemplate template, String rel)
Creates a new Link from the given UriTemplate and rel.
Link(UriTemplate template, LinkRelation rel)
Creates a new Link from the given UriTemplate and rel.
Link(String href)
Creates a new link to the given URI with the self rel.
Link(UriTemplate template, LinkRelation rel, List affordances)
Creates a new Link from the given UriTemplate , link relation and affordances.

Method

Linkexpand(Object... arguments)
Turns the current template into a Link by expanding it using the given parameters.
Linkexpand(Map arguments)
Turns the current template into a Link by expanding it using the given parameters.
ListgetVariableNames()
Returns the variable names contained in the template.
ListgetVariables()
Returns all TemplateVariables contained in the Link .
booleanisTemplated()
Returns whether or not the link is templated.
StringtoString()
LinkvalueOf(String element)
Factory method to easily create Link instances from RFC-5988 compatible String representations of a link.
LinkwithSelfRel()
Returns a Link pointing to the same URI but with the self relation.