接口 AdditionalPathsMapper

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface AdditionalPathsMapper
Strategy interface used to provide a mapping between an endpoint ID and any additional paths where it will be exposed.
从以下版本开始:
3.4.0
作者:
Phillip Webb
  • 方法详细资料

    • getAdditionalPaths

      List<String> getAdditionalPaths(EndpointId endpointId, WebServerNamespace webServerNamespace)
      Resolve the additional paths for the specified endpointId and web server namespace.
      参数:
      endpointId - the id of an endpoint
      webServerNamespace - the web server namespace
      返回:
      the additional paths of the endpoint or null if this mapper doesn't support the given endpoint ID.