public class Links extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HREF_PREFIX |
static String |
URI_CONTEXT |
static String |
URI_VERSION |
| Constructor and Description |
|---|
Links() |
Links(String id,
String listUri) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLink(String key,
String url)
adds the additional HATEOAS links
|
void |
anySetter(String key,
String url) |
Map<String,String> |
getLinks() |
String |
getList() |
String |
getSelf() |
void |
setList(String list) |
void |
setSelf(String self) |
public static final String HREF_PREFIX
public static final String URI_CONTEXT
public static final String URI_VERSION
public String getSelf()
public void setSelf(String self)
public String getList()
public void setList(String list)
public void addLink(String key, String url)
key - the key at which to add the URLurl - the URL to be added