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, getPath, isSensitive, setPath
public 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.