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.
|
Constructor and Description |
---|
MetricsMvcEndpoint(MetricsEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
value(String name) |
getDelegate, getDisabledResponse, getEndpointType, getPath, invoke, isSensitive
public MetricsMvcEndpoint(MetricsEndpoint delegate)
@RequestMapping(value="/{name:.*}", method=GET) @ResponseBody public Object value(@PathVariable String name)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.