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 TypeMethodDescriptionReturn the root path of the endpoint, relative to the context that exposes it.
-
Method Details
-
getRootPath
String getRootPath()Return the root path of the endpoint, relative to the context that exposes it. For example, a root path ofexample
would be exposed under the URL "/{actuator-context}/example".- Returns:
- the root path for the endpoint
-