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.
@FunctionalInterface public interface PathMappedEndpoint
Interface that can be implemented by anExposableEndpoint
that is mapped to a root web path.- Since:
- 2.0.0
- See Also:
PathMapper
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRootPath()
Return the root path of the endpoint, relative to the context that exposes it.
Method Detail
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