|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ws.rs.core.Link de.smartics.resteasy.hypermedia.renderer.LinkDescriptor de.smartics.resteasy.hypermedia.renderer.LinkDescriptorJaxrs
public final class LinkDescriptorJaxrs
Provides information on a single link.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.ws.rs.core.Link |
---|
javax.ws.rs.core.Link.Builder, javax.ws.rs.core.Link.JaxbAdapter, javax.ws.rs.core.Link.JaxbLink |
Field Summary |
---|
Fields inherited from class de.smartics.resteasy.hypermedia.renderer.LinkDescriptor |
---|
metadata, params, rels |
Fields inherited from class javax.ws.rs.core.Link |
---|
REL, TITLE, TYPE |
Constructor Summary | |
---|---|
LinkDescriptorJaxrs(javax.ws.rs.core.Link link, LinkMetadata metadata) Default constructor. |
Method Summary | |
---|---|
String |
getHref() Returns the URI to the resource the link points to. |
String |
getHrefLang() Returns the content that describes the language of the resource pointed to by the link. |
String |
getLength() Returns the advisory length of the linked content in octets; it is a hint about the content length of the representation returned when the IRI in the href attribute is mapped to a URI and dereferenced. |
String |
getTitle() Returns the advisory information associated with the element. |
String |
getType() Returns the media type of the resource the link points to. |
void |
setHref(String href) Sets the URI to the resource the link points to. |
void |
setHrefLang(String hrefLang) Sets the content that describes the language of the resource pointed to by the link. |
void |
setLength(String length) Sets the advisory length of the linked content in octets; it is a hint about the content length of the representation returned when the IRI in the href attribute is mapped to a URI and dereferenced. |
void |
setType(String type) Sets the media type of the resource the link points to. |
Methods inherited from class de.smartics.resteasy.hypermedia.renderer.LinkDescriptor |
---|
addRels, addRels, getAccessKey, getContextMenu, getCssClass, getDir, getHelp, getId, getLabel, getMedia, getParams, getRel, getRels, getShortLabel, getTabIndex, getTarget, getUri, getUriBuilder, isHidden, putParam, setAccessKey, setContextMenu, setCssClass, setDir, setHelp, setHidden, setId, setLabel, setMedia, setShortLabel, setTabIndex, setTarget, setTitle, splitRel, toString |
Methods inherited from class javax.ws.rs.core.Link |
---|
fromLink, fromMethod, fromPath, fromResource, fromUri, fromUri, fromUriBuilder, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinkDescriptorJaxrs(javax.ws.rs.core.Link link, LinkMetadata metadata)
link
- the basic link information provided by RESTEasy.
metadata
- the additional link metadata about the link.
Method Detail |
---|
public String getHref()
LinkDescriptor
getHref
in class
LinkDescriptor
public void setHref(String href)
LinkDescriptor
setHref
in class
LinkDescriptor
href
- the URI to the resource the link points to.
public String getType()
LinkDescriptor
getType
in class
LinkDescriptor
public void setType(String type)
LinkDescriptor
setType
in class
LinkDescriptor
type
- the media type of the resource the link points to.
public String getHrefLang()
LinkDescriptor
getHrefLang
in class
LinkDescriptor
public void setHrefLang(String hrefLang)
LinkDescriptor
setHrefLang
in class
LinkDescriptor
hrefLang
- the content that describes the language of the resource pointed to by the link.
public String getLength()
LinkDescriptor
getLength
in class
LinkDescriptor
public void setLength(String length)
LinkDescriptor
setLength
in class
LinkDescriptor
length
- the advisory length of the linked content in octets.
public String getTitle()
LinkDescriptor
getTitle
in class
LinkDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |