@ConfigurationProperties(value="micronaut.multitenancy.tenantwriter.httpheader") public class HttpHeaderTenantWriterConfigurationProperties extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_HEADERNAME
The default header name.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
HttpHeaderTenantWriterConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeaderName() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
HttpHeaderTenantWriter . |
void |
setHeaderName(java.lang.String headerName)
Http Header name.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_HEADERNAME
public HttpHeaderTenantWriterConfigurationProperties()
public boolean isEnabled()
public void setEnabled(boolean enabled)
HttpHeaderTenantWriter
. Default value (false).enabled
- enabled flagpublic void setHeaderName(java.lang.String headerName)
headerName
- HTTP header namepublic java.lang.String getHeaderName()