public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter<Endpoint<?>>
Endpoint
s as MvcEndpoint
s.DISABLED_RESPONSE
Constructor and Description |
---|
EndpointMvcAdapter(Endpoint<?> delegate)
Create a new
EndpointMvcAdapter . |
Modifier and Type | Method and Description |
---|---|
Object |
invoke() |
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
public EndpointMvcAdapter(Endpoint<?> delegate)
EndpointMvcAdapter
.delegate
- the underlying Endpoint
to adapt.@ActuatorGetMapping @ResponseBody public Object invoke()
invoke
in class AbstractEndpointMvcAdapter<Endpoint<?>>
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.