Interface TenantResolver


public interface TenantResolver
Finds the tenant a request belongs to, for TenantFilter.
  • Method Summary

    Modifier and Type
    Method
    Description
    The tenant of request, or null when it names none.
  • Method Details

    • resolve

      String resolve(HttpServer.Request request) throws Exception
      The tenant of request, or null when it names none.
      Parameters:
      request - the request
      Returns:
      the tenant identifier
      Throws:
      Exception - when resolving fails