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.@GetMapping(produces="application/json") @ResponseBody public Object invoke()
invoke
in class AbstractEndpointMvcAdapter<Endpoint<?>>
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.