@CompileStatic @EqualsAndHashCode(includes: [rel, href]) class Link extends Object implements Serializable
Represents a Link in a RESTful resource. See http://tools.ietf.org/html/draft-kelly-json-hal-05#section-5
Type | Name and description |
---|---|
String |
contentType The content type of the linked resource |
boolean |
deprecated Whether the link is deprecated |
String |
href The link's href |
Locale |
hreflang The language of the linked resource |
String |
rel The link relationship |
boolean |
templated Whether the link is a URI template |
String |
title The Human readable title of the resource |
Type Params | Return Type | Name and description |
---|---|---|
|
static Link |
createLink(Map<String, Object> arguments) Creates a link for the given arguments |
The content type of the linked resource
Whether the link is deprecated
The link's href
The language of the linked resource
The link relationship
Whether the link is a URI template
The Human readable title of the resource