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