类 EndpointLinksResolver
java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver
A resolver for
links to web endpoints.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
-
构造器概要
构造器构造器说明EndpointLinksResolver(Collection<? extends ExposableEndpoint<?>> endpoints) Creates a newEndpointLinksResolverthat will resolve links to the givenendpoints.EndpointLinksResolver(Collection<? extends ExposableEndpoint<?>> endpoints, String basePath) Creates a newEndpointLinksResolverthat will resolve links to the givenendpointsthat are exposed beneath the givenbasePath. -
方法概要
修饰符和类型方法说明resolveLinks(String requestUrl) Resolves links to the known endpoints based on a request with the givenrequestUrl.
-
构造器详细资料
-
EndpointLinksResolver
Creates a newEndpointLinksResolverthat will resolve links to the givenendpoints.- 参数:
endpoints- the endpoints
-
EndpointLinksResolver
Creates a newEndpointLinksResolverthat will resolve links to the givenendpointsthat are exposed beneath the givenbasePath.- 参数:
endpoints- the endpointsbasePath- the basePath
-
-
方法详细资料
-
resolveLinks
Resolves links to the known endpoints based on a request with the givenrequestUrl.- 参数:
requestUrl- the url of the request for the endpoint links- 返回:
- the links
-