MultiTenantHandler |
MultiTenantHandler.addDefaultHandler(Handler<RoutingContext> handler)
Add a default handler for the case when no tenant was matched.
|
MultiTenantHandler |
MultiTenantHandler.addTenantHandler(String tenant,
Handler<RoutingContext> handler)
Add a handler for a given tenant to this handler.
|
static MultiTenantHandler |
MultiTenantHandler.create(java.util.function.Function<RoutingContext,String> tenantExtractor)
Create a MultiTenant handler using a custom tenant extraction function.
|
static MultiTenantHandler |
MultiTenantHandler.create(java.util.function.Function<RoutingContext,String> tenantExtractor,
String contextKey)
Create a MultiTenant handler using a custom tenant extraction function.
|
static MultiTenantHandler |
MultiTenantHandler.create(String header)
Create a MultiTenant handler that will extract the tenant id from a given header name.
|
MultiTenantHandler |
MultiTenantHandler.removeTenant(String tenant)
Remove a handler for a given tenant from this handler.
|