Class EndpointLinksResolver
java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver
-
Constructor Summary
ConstructorsConstructorDescriptionEndpointLinksResolver(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. -
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 newEndpointLinksResolverthat will resolve links to the givenendpoints.- Parameters:
endpoints- the endpoints
-
EndpointLinksResolver
Creates a newEndpointLinksResolverthat will resolve links to the givenendpointsthat are exposed beneath the givenbasePath.- Parameters:
endpoints- the endpointsbasePath- the basePath
-
-
Method Details
-
resolveLinks
-