Class EndpointLinksResolver
java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver
-
Constructor Summary
ConstructorsConstructorDescriptionEndpointLinksResolver
(Collection<? extends ExposableEndpoint<?>> endpoints) Creates a newEndpointLinksResolver
that will resolve links to the givenendpoints
.EndpointLinksResolver
(Collection<? extends ExposableEndpoint<?>> endpoints, String basePath) Creates a newEndpointLinksResolver
that will resolve links to the givenendpoints
that are exposed beneath the givenbasePath
. -
Method Summary
Modifier and TypeMethodDescriptionresolveLinks
(String requestUrl) Resolves links to the known endpoints based on a request with the givenrequestUrl
.
-
Constructor Details
-
EndpointLinksResolver
Creates a newEndpointLinksResolver
that will resolve links to the givenendpoints
.- Parameters:
endpoints
- the endpoints
-
EndpointLinksResolver
Creates a newEndpointLinksResolver
that will resolve links to the givenendpoints
that are exposed beneath the givenbasePath
.- Parameters:
endpoints
- the endpointsbasePath
- the basePath
-
-
Method Details
-
resolveLinks
-