public abstract class AbstractBaseServerConfiguration extends java.lang.Object implements ServerConfiguration
Modifier and Type | Field and Description |
---|---|
private org.apache.commons.configuration.Configuration |
config |
private EPagesJDirConfiguration |
dirConfig |
private static java.lang.String |
SERVER_CONTEXTPATH |
private static java.lang.String |
SERVER_FOLLOW_SYMLINKS |
private static java.lang.String |
SERVER_HEADER_CACHE_SIZE |
private static java.lang.String |
SERVER_HEALTH_CHECK |
private static java.lang.String |
SERVER_HOST |
private static java.lang.String |
SERVER_JOIN |
private static java.lang.String |
SERVER_PATHSPEC |
private static java.lang.String |
SERVER_PORT |
private static java.lang.String |
SERVER_REQUEST_HEADER_SIZE |
private static java.lang.String |
SERVER_REQUESTLOGCONFIGFILENAME |
private static java.lang.String |
SERVER_REQUESTLOGGERENABLED |
private static java.lang.String |
SERVER_RESPONSE_BUFFER_SIZE |
private static java.lang.String |
SERVER_RESPONSE_HEADER_SIZE |
private static java.lang.String |
SERVER_REST_TRACING |
private static java.lang.String |
SERVER_SENDDATEHEADER |
private static java.lang.String |
SERVER_STOPATSHUTDOWN |
Constructor and Description |
---|
AbstractBaseServerConfiguration(org.apache.commons.configuration.Configuration config,
EPagesJDirConfiguration dirConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
followSymLinks() |
protected abstract java.lang.String |
getAppName() |
java.lang.String |
getContextPath() |
java.lang.String |
getCurrentVersion() |
int |
getHeaderCacheSize() |
java.lang.String |
getHost() |
java.lang.String |
getPathSpec() |
int |
getPort() |
int |
getRequestHeaderSize() |
java.lang.String |
getRequestLogConfigFilename() |
int |
getResponseBufferSize() |
int |
getResponseHeaderSize() |
java.lang.String |
getRestTracing() |
boolean |
getSendDateHeader() |
boolean |
getStopAtShutdown() |
boolean |
isHealthCheckEnabled() |
boolean |
isJoinEnabled() |
boolean |
isRequestLoggerEnabled() |
private static final java.lang.String SERVER_STOPATSHUTDOWN
private static final java.lang.String SERVER_SENDDATEHEADER
private static final java.lang.String SERVER_HOST
private static final java.lang.String SERVER_PORT
private static final java.lang.String SERVER_CONTEXTPATH
private static final java.lang.String SERVER_PATHSPEC
private static final java.lang.String SERVER_REQUESTLOGGERENABLED
private static final java.lang.String SERVER_REQUESTLOGCONFIGFILENAME
private static final java.lang.String SERVER_FOLLOW_SYMLINKS
private static final java.lang.String SERVER_HEADER_CACHE_SIZE
private static final java.lang.String SERVER_REQUEST_HEADER_SIZE
private static final java.lang.String SERVER_RESPONSE_HEADER_SIZE
private static final java.lang.String SERVER_RESPONSE_BUFFER_SIZE
private static final java.lang.String SERVER_REST_TRACING
private static final java.lang.String SERVER_HEALTH_CHECK
private static final java.lang.String SERVER_JOIN
private final org.apache.commons.configuration.Configuration config
private final EPagesJDirConfiguration dirConfig
@Inject public AbstractBaseServerConfiguration(org.apache.commons.configuration.Configuration config, EPagesJDirConfiguration dirConfig)
protected abstract java.lang.String getAppName()
public java.lang.String getCurrentVersion()
getCurrentVersion
in interface ServerConfiguration
public java.lang.String getHost()
getHost
in interface ServerConfiguration
public int getPort()
getPort
in interface ServerConfiguration
public java.lang.String getContextPath()
getContextPath
in interface ServerConfiguration
public java.lang.String getPathSpec()
getPathSpec
in interface ServerConfiguration
public boolean getSendDateHeader()
getSendDateHeader
in interface ServerConfiguration
public boolean getStopAtShutdown()
getStopAtShutdown
in interface ServerConfiguration
public java.lang.String getRequestLogConfigFilename()
getRequestLogConfigFilename
in interface ServerConfiguration
public boolean isRequestLoggerEnabled()
isRequestLoggerEnabled
in interface ServerConfiguration
public boolean followSymLinks()
followSymLinks
in interface ServerConfiguration
public int getHeaderCacheSize()
getHeaderCacheSize
in interface ServerConfiguration
public int getRequestHeaderSize()
getRequestHeaderSize
in interface ServerConfiguration
public int getResponseHeaderSize()
getResponseHeaderSize
in interface ServerConfiguration
public int getResponseBufferSize()
getResponseBufferSize
in interface ServerConfiguration
public java.lang.String getRestTracing()
getRestTracing
in interface ServerConfiguration
public boolean isHealthCheckEnabled()
isHealthCheckEnabled
in interface ServerConfiguration
public boolean isJoinEnabled()
isJoinEnabled
in interface ServerConfiguration