public class TestServerConfigurationImpl extends BaseServerConfigurationImpl implements ServerConfiguration
[Server] ; resourceBase = "./shared" ; contextPath = "/rs" ; port = 8088 ; requestLogFilename = "logback-epagesj-test-access.xml"
Modifier and Type | Class and Description |
---|---|
static class |
TestServerConfigurationImpl.ConfigurationProperty |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
SERVER_CONTEXTPATH_DEFAULT
value = "/rs"
|
private static int |
SERVER_PORT_DEFAULT
value = 8088
|
private static java.lang.String |
SERVER_REQUESTLOGCONFIGFILENAME_DEFAULT
value = "logback-epagesj-test-access.xml"
|
private static java.lang.String |
SERVER_RESOURCEBASE_DEFAULT
value = "./shared"
|
config
Constructor and Description |
---|
TestServerConfigurationImpl(org.apache.commons.configuration.Configuration config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextPath() |
int |
getPort() |
protected java.lang.String |
getRequestLogConfigFilenameDefault() |
java.lang.String |
getResourceBase() |
getDirectoriesListed, getGracefullShutdownInMillis, getHost, getInetSocketAddress, getPathSpec, getRequestLogConfigFilename, getSendDateHeader, getStopAtShutdown, getURI, isRequestLoggerEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDirectoriesListed, getGracefullShutdownInMillis, getInetSocketAddress, getPathSpec, getRequestLogConfigFilename, getSendDateHeader, getStopAtShutdown, getURI, isRequestLoggerEnabled
private static final java.lang.String SERVER_CONTEXTPATH_DEFAULT
private static final int SERVER_PORT_DEFAULT
private static final java.lang.String SERVER_RESOURCEBASE_DEFAULT
private static final java.lang.String SERVER_REQUESTLOGCONFIGFILENAME_DEFAULT
@Inject public TestServerConfigurationImpl(org.apache.commons.configuration.Configuration config)
protected java.lang.String getRequestLogConfigFilenameDefault()
getRequestLogConfigFilenameDefault
in class BaseServerConfigurationImpl
public int getPort()
getPort
in interface ServerConfiguration
public java.lang.String getContextPath()
getContextPath
in interface ServerConfiguration
public java.lang.String getResourceBase()
getResourceBase
in interface ServerConfiguration