@groovy.transform.CompileStaticCompileStatic @groovy.transform.EqualsAndHashCodeEqualsAndHashCode class Link extends java.lang.Object
Represents a Link in a RESTful resource. See http://tools.ietf.org/html/draft-kelly-json-hal-05#section-5
| Type | Name and description |
|---|---|
private java.lang.String |
contentTypeThe content type of the linked resource |
private boolean |
deprecatedWhether the link is deprecated |
private java.lang.String |
hrefThe link's href |
private Locale |
hreflangThe language of the linked resource |
private java.lang.String |
relThe link relationship |
private boolean |
templatedWhether the link is a URI template |
private java.lang.String |
titleThe Human readable title of the resource |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static Link |
createLink(Map arguments)Creates a link for the given arguments
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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