|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.Link
public class Link
Represents a link to a given entity. The href
| Method Summary | |
|---|---|
static Link |
add(java.net.URI uri)
Creates a link using the given URI builder to build the URI. |
static Link |
delete(java.net.URI uri)
Creates a link using the given URI builder to build the URI. |
static Link |
edit(java.net.URI uri)
Creates a link using the given URI builder to build the URI. |
boolean |
equals(java.lang.Object obj)
|
java.net.URI |
getHref()
|
java.lang.String |
getRel()
|
int |
hashCode()
|
static Link |
link(java.net.URI uri,
java.lang.String rel)
Creates a link using the specified uri and rel values |
static Link |
link(java.net.URI uri,
java.lang.String rel,
java.lang.String type)
Creates a link using the given URI builder to build the URI. |
static Link |
self(java.net.URI uri)
Creates a link using the given URI builder to build the URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Link link(java.net.URI uri,
java.lang.String rel)
uri - the URI to use for the link URI,rel - the rel attribute of the link.
public static Link link(java.net.URI uri,
java.lang.String rel,
java.lang.String type)
uri - the URI to use for the link URI,rel - the rel attribute of the link.type - the type attribute of the link.
public static Link self(java.net.URI uri)
rel attribute of the link is set to self.
uri - the URI to use for the link URI.
public static Link edit(java.net.URI uri)
rel attribute of the link is set to edit.
uri - the URI to use for the link URI.
public static Link add(java.net.URI uri)
rel attribute of the link is set to add.
uri - the URI to use for the link URI.
public static Link delete(java.net.URI uri)
rel attribute of the link is set to delete.
uri - the URI to use for the link URI.
public java.net.URI getHref()
public java.lang.String getRel()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||