接口 Endpoint<T>
- 类型参数:
T
- the endpoint data type
- 所有已知实现类:
AbstractEndpoint
,AutoConfigurationReportEndpoint
,BeansEndpoint
,ConfigurationPropertiesReportEndpoint
,DumpEndpoint
,EnvironmentEndpoint
,FlywayEndpoint
,HealthEndpoint
,InfoEndpoint
,LiquibaseEndpoint
,LoggersEndpoint
,MetricsEndpoint
,RequestMappingEndpoint
,ShutdownEndpoint
,TraceEndpoint
public interface Endpoint<T>
An endpoint that can be used to expose useful information to operations. Usually exposed via Spring MVC but could also be exposed using some other technique. Consider extendingAbstractEndpoint
if you are developing your own endpoint.- 另请参阅:
AbstractEndpoint
方法详细资料
getId
String getId()
The logical ID of the endpoint. Must only contain simple letters, numbers and '_' characters (i.e. a "\w" regex).- 返回:
- the endpoint ID
isEnabled
boolean isEnabled()
Return if the endpoint is enabled.- 返回:
- if the endpoint is enabled
isSensitive
boolean isSensitive()
Return if the endpoint is sensitive, i.e. may return data that the average user should not see. Mappings can use this as a security hint.- 返回:
- if the endpoint is sensitive