Class HttpHeaderTenantResolver

java.lang.Object
io.micronaut.multitenancy.tenantresolver.HttpHeaderTenantResolver
All Implemented Interfaces:
HttpRequestTenantResolver, TenantResolver

@Singleton @Requires(beans=HttpHeaderTenantResolverConfiguration.class) @Requires(property="micronaut.multitenancy.tenantresolver.httpheader.enabled",value="true",defaultValue="false") public class HttpHeaderTenantResolver extends Object implements TenantResolver, HttpRequestTenantResolver
A TenantResolver that resolves the tenant from the request HTTP Header.
Since:
1.0.0
Author:
Sergio del Amo