接口 ExposableEndpoint<O extends Operation>
- 类型参数:
O
- the type of the endpoint's operations
- 所有已知子接口:
DiscoveredEndpoint<O>
,ExposableControllerEndpoint
,ExposableJmxEndpoint
,ExposableServletEndpoint
,ExposableWebEndpoint
public interface ExposableEndpoint<O extends Operation>
Information describing an endpoint that can be exposed in some technology specific way.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Phillip Webb
-
方法概要
修饰符和类型方法说明Returns the access to the endpoint that is permitted by default.Return the endpoint ID.Returns the operations of the endpoint.boolean
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
方法详细资料
-
getEndpointId
EndpointId getEndpointId()Return the endpoint ID.- 返回:
- the endpoint ID
-
isEnableByDefault
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.4.0 for removal in 4.0.0 in favor ofgetDefaultAccess()
Returns if the endpoint is enabled by default.- 返回:
- if the endpoint is enabled by default
-
getDefaultAccess
Access getDefaultAccess()Returns the access to the endpoint that is permitted by default.- 返回:
- access that is permitted by default
- 从以下版本开始:
- 3.4.0
-
getOperations
Collection<O> getOperations()Returns the operations of the endpoint.- 返回:
- the operations
-
getDefaultAccess()