public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter<Endpoint<?>>
Endpoints as MvcEndpoints.DISABLED_RESPONSE| Constructor and Description |
|---|
EndpointMvcAdapter(Endpoint<?> delegate)
Create a new
EndpointMvcAdapter. |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke() |
getDelegate, getDisabledResponse, getEndpointType, getPath, isSensitive, setPathpublic EndpointMvcAdapter(Endpoint<?> delegate)
EndpointMvcAdapter.delegate - the underlying Endpoint to adapt.@RequestMapping(method=GET, produces="application/json") @ResponseBody public Object invoke()
invoke in class AbstractEndpointMvcAdapter<Endpoint<?>>Copyright © 2016 Pivotal Software, Inc.. All rights reserved.