Interface TenantResolver


public interface TenantResolver
A tenant resolver is responsible for resolving tenants dynamically so that the proper configuration can be used accordingly.
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(io.vertx.ext.web.RoutingContext context)
    Returns a tenant identifier given a RoutingContext, where the identifier will be used to choose the proper configuration during runtime.
  • Method Details

    • resolve

      String resolve(io.vertx.ext.web.RoutingContext context)
      Returns a tenant identifier given a RoutingContext, where the identifier will be used to choose the proper configuration during runtime.
      Parameters:
      context - the routing context
      Returns:
      the tenant identifier. If null, indicates that the default configuration/tenant should be chosen