Interface PathMappedEndpoint
- All Known Subinterfaces:
ExposableControllerEndpoint,ExposableServletEndpoint,ExposableWebEndpoint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface that can be implemented by an
ExposableEndpoint that is mapped to a
root web path.- Since:
- 2.0.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalPaths(WebServerNamespace webServerNamespace) Return any additional paths (relative to the context) for the givenWebServerNamespace.Return the root path of the endpoint (relative to the context and base path) that exposes it.
-
Method Details
-
getRootPath
String getRootPath()Return the root path of the endpoint (relative to the context and base path) that exposes it. For example, a root path ofexamplewould be exposed under the URL "/{actuator-context}/example".- Returns:
- the root path for the endpoint
- See Also:
-
getAdditionalPaths
Return any additional paths (relative to the context) for the givenWebServerNamespace.- Parameters:
webServerNamespace- the web server namespace- Returns:
- a list of additional paths
- Since:
- 3.4.0
-