Interface AdditionalPathsMapper

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 AdditionalPathsMapper
Strategy interface used to provide a mapping between an endpoint ID and any additional paths where it will be exposed.
Since:
3.4.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<String>
    getAdditionalPaths(EndpointId endpointId, WebServerNamespace webServerNamespace)
    Resolve the additional paths for the specified endpointId and web server namespace.
  • Method Details

    • getAdditionalPaths

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