接口 MvcEndpoint
- 所有已知子接口:
NamedMvcEndpoint
- 所有已知实现类:
AbstractEndpointMvcAdapter
,AbstractMvcEndpoint
,AbstractNamedMvcEndpoint
,AuditEventsMvcEndpoint
,DocsMvcEndpoint
,EndpointMvcAdapter
,EnvironmentMvcEndpoint
,HalBrowserMvcEndpoint
,HalJsonMvcEndpoint
,HealthMvcEndpoint
,HeapdumpMvcEndpoint
,JolokiaMvcEndpoint
,LogFileMvcEndpoint
,LoggersMvcEndpoint
,MetricsMvcEndpoint
,ShutdownMvcEndpoint
public interface MvcEndpoint
A strategy for the MVC layer on top of anEndpoint
. 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 theEndpointHandlerMapping
).- 另请参阅:
NamedMvcEndpoint
字段概要
字段 修饰符和类型 字段 说明 static org.springframework.http.ResponseEntity<Map<String,String>>
DISABLED_RESPONSE
AResponseEntity
returned for disabled endpoints.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Class<? extends Endpoint>
getEndpointType()
Return the type ofEndpoint
exposed, ornull
if thisMvcEndpoint
exposes information that cannot be represented as a traditionalEndpoint
.String
getPath()
Return the MVC path of the endpoint.boolean
isSensitive()
Return if the endpoint exposes sensitive information.
字段详细资料
DISABLED_RESPONSE
static final org.springframework.http.ResponseEntity<Map<String,String>> DISABLED_RESPONSE
AResponseEntity
returned for disabled endpoints.
方法详细资料
isSensitive
boolean isSensitive()
Return if the endpoint exposes sensitive information.- 返回:
- if the endpoint is sensitive
getEndpointType
Class<? extends Endpoint> getEndpointType()
Return the type ofEndpoint
exposed, ornull
if thisMvcEndpoint
exposes information that cannot be represented as a traditionalEndpoint
.- 返回:
- the endpoint type