public class GaugeTemplate extends java.lang.Object implements GaugeOperations
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> |
resources
Holds discovered URLs of the API.
|
protected org.springframework.web.client.RestTemplate |
restTemplate
A template used for http interaction.
|
Constructor and Description |
---|
GaugeTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String name) |
org.springframework.hateoas.PagedResources<MetricResource> |
list() |
T |
retrieve(java.lang.String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, list, retrieve
protected org.springframework.web.client.RestTemplate restTemplate
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> resources
public GaugeTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate)
public T retrieve(java.lang.String name)
public org.springframework.hateoas.PagedResources<MetricResource> list()
public void delete(java.lang.String name)