VMware GemFire Java API Reference
Class Links
- java.lang.Object
-
- org.apache.geode.management.configuration.Links
-
public class Links extends Object
this keeps all HATEOAS links related to a particular configuration object. only the map (links) is serialized back to the client, nothing get de-serialized.
-
-
Field Summary
Fields Modifier and Type Field Description static StringHREF_PREFIXstatic StringURI_CONTEXTstatic StringURI_VERSION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLink(String key, String url)adds the additional HATEOAS linksvoidanySetter(String key, String url)Map<String,String>getLinks()StringgetList()StringgetSelf()voidsetList(String list)voidsetSelf(String self)
-
-
-
Field Detail
-
HREF_PREFIX
public static final String HREF_PREFIX
- See Also:
- Constant Field Values
-
URI_CONTEXT
public static final String URI_CONTEXT
- See Also:
- Constant Field Values
-
URI_VERSION
public static final String URI_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSelf
public String getSelf()
-
setSelf
public void setSelf(String self)
-
getList
public String getList()
-
setList
public void setList(String list)
-
addLink
public void addLink(String key, String url)
adds the additional HATEOAS links- Parameters:
key- the key at which to add the URLurl- the URL to be added
-
-