public class EndpointMvcAdapter extends Object implements MvcEndpoint
Endpoints as MvcEndpoints.| Constructor and Description |
|---|
EndpointMvcAdapter(Endpoint<?> delegate)
Create a new
EndpointMvcAdapter. |
| Modifier and Type | Method and Description |
|---|---|
Endpoint<?> |
getDelegate() |
Class<? extends Endpoint> |
getEndpointType()
Return the type of
Endpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint. |
String |
getPath()
Return the MVC path of the endpoint.
|
Object |
invoke() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
public EndpointMvcAdapter(Endpoint<?> delegate)
EndpointMvcAdapter.delegate - the underlying Endpoint to adapt.public Object invoke()
public Endpoint<?> getDelegate()
public String getPath()
MvcEndpointgetPath in interface MvcEndpointpublic boolean isSensitive()
MvcEndpointisSensitive in interface MvcEndpointpublic Class<? extends Endpoint> getEndpointType()
MvcEndpointEndpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint.getEndpointType in interface MvcEndpointCopyright © 2014 Pivotal Software, Inc.. All rights reserved.