public interface MvcEndpoint
Endpoint
. Implementations are allowed
to use @RequestMapping
and the full Spring MVC machinery, but should not
use @Controller
or @RequestMapping
at the type level (since
that would lead to a double mapping of paths, once by the regular MVC handler mappings
and once by the EndpointHandlerMapping
).Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
String getPath()
boolean isSensitive()
Class<? extends Endpoint> getEndpointType()
Endpoint
exposed, or null
if this
MvcEndpoint
exposes information that cannot be represented as a traditional
Endpoint
.Copyright © 2014. All rights reserved.