接口 PathMappedEndpoint
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Interface that can be implemented by an
ExposableEndpoint
that is mapped to a
root web path.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
- 另请参阅:
-
方法概要
修饰符和类型方法说明getAdditionalPaths
(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.
-
方法详细资料
-
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 ofexample
would be exposed under the URL "/{actuator-context}/example".- 返回:
- the root path for the endpoint
- 另请参阅:
-
getAdditionalPaths
Return any additional paths (relative to the context) for the givenWebServerNamespace
.- 参数:
webServerNamespace
- the web server namespace- 返回:
- a list of additional paths
- 从以下版本开始:
- 3.4.0
-