public abstract class BaseServerConfigurationImpl extends java.lang.Object implements ServerConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
BaseServerConfigurationImpl.ConfigurationProperty |
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.configuration.Configuration |
config |
private static boolean |
SERVER_DIRECTORIESLISTED_DEFAULT
value = false
|
private static int |
SERVER_GRACEFULLINMILLIS_DEFAULT
value = 2500
|
private static java.lang.String |
SERVER_HOST_DEFAULT
value = "0.0.0.0"
|
private static java.lang.String |
SERVER_PATHSPEC_DEFAULT
value = "/*"
|
private static boolean |
SERVER_REQUESTLOGGERENABLED_DEFAULT
value = true
|
private static boolean |
SERVER_SENDDATEHEADER_DEFAULT
value = true
|
private static boolean |
SERVER_STOPATSHUTDOWN_DEFAULT
value = true
|
Constructor and Description |
---|
BaseServerConfigurationImpl(org.apache.commons.configuration.Configuration config) |
Modifier and Type | Method and Description |
---|---|
boolean |
getDirectoriesListed() |
int |
getGracefullShutdownInMillis() |
protected java.lang.String |
getHost() |
java.net.InetSocketAddress |
getInetSocketAddress() |
java.lang.String |
getPathSpec() |
java.lang.String |
getRequestLogConfigFilename() |
protected abstract java.lang.String |
getRequestLogConfigFilenameDefault() |
boolean |
getSendDateHeader() |
boolean |
getStopAtShutdown() |
java.net.URI |
getURI() |
boolean |
isRequestLoggerEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextPath, getPort, getResourceBase
protected final org.apache.commons.configuration.Configuration config
private static final java.lang.String SERVER_HOST_DEFAULT
private static final boolean SERVER_SENDDATEHEADER_DEFAULT
private static final boolean SERVER_DIRECTORIESLISTED_DEFAULT
private static final java.lang.String SERVER_PATHSPEC_DEFAULT
private static final int SERVER_GRACEFULLINMILLIS_DEFAULT
private static final boolean SERVER_STOPATSHUTDOWN_DEFAULT
private static final boolean SERVER_REQUESTLOGGERENABLED_DEFAULT
public BaseServerConfigurationImpl(org.apache.commons.configuration.Configuration config)
protected java.lang.String getHost()
public java.lang.String getPathSpec()
getPathSpec
in interface ServerConfiguration
public boolean getDirectoriesListed()
getDirectoriesListed
in interface ServerConfiguration
public boolean getSendDateHeader()
getSendDateHeader
in interface ServerConfiguration
public int getGracefullShutdownInMillis()
getGracefullShutdownInMillis
in interface ServerConfiguration
public boolean getStopAtShutdown()
getStopAtShutdown
in interface ServerConfiguration
public java.net.InetSocketAddress getInetSocketAddress()
getInetSocketAddress
in interface ServerConfiguration
public java.net.URI getURI()
getURI
in interface ServerConfiguration
public boolean isRequestLoggerEnabled()
isRequestLoggerEnabled
in interface ServerConfiguration
public java.lang.String getRequestLogConfigFilename()
getRequestLogConfigFilename
in interface ServerConfiguration
protected abstract java.lang.String getRequestLogConfigFilenameDefault()