Package | Description |
---|---|
io.vertx.rxjava.ext.web.handler |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MultiTenantHandler> |
MultiTenantHandler.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
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.
|
static MultiTenantHandler |
MultiTenantHandler.newInstance(MultiTenantHandler arg) |
MultiTenantHandler |
MultiTenantHandler.removeTenant(String tenant)
Remove a handler for a given tenant from this handler.
|
Copyright © 2021 Eclipse. All rights reserved.