public class MetricsMvcEndpoint extends EndpointMvcAdapter
MetricsEndpoint
as an MvcEndpoint
.Modifier and Type | Class and Description |
---|---|
static class |
MetricsMvcEndpoint.NoSuchMetricException
Exception thrown when the specified metric cannot be found.
|
DISABLED_RESPONSE
Constructor and Description |
---|
MetricsMvcEndpoint(MetricsEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
value(String name) |
invoke
getDelegate, getDisabledResponse, getEndpointType, getPath, isSensitive, setPath
public MetricsMvcEndpoint(MetricsEndpoint delegate)
@RequestMapping(value="/{name:.*}", method=GET, produces="application/json") @ResponseBody @HypermediaDisabled public Object value(@PathVariable String name)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.