com.nesscomputing.httpserver
Class HttpServerConfig
java.lang.Object
com.nesscomputing.httpserver.HttpServerConfig
public abstract class HttpServerConfig
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServerConfig
public HttpServerConfig()
getServerClass
public Class<? extends HttpServer> getServerClass()
isForwarded
public boolean isForwarded()
- Use the X-Forwarded-For headers to set remote host, port etc. instead of
the host connecting.
getMaxThreads
public int getMaxThreads()
getMinThreads
public int getMinThreads()
getThreadMaxIdletime
public int getThreadMaxIdletime()
getMaxIdletime
public int getMaxIdletime()
getShutdownTimeout
public org.skife.config.TimeSpan getShutdownTimeout()
getSSLKeystorePath
public String getSSLKeystorePath()
getSSLKeystoreType
public String getSSLKeystoreType()
getSSLKeystorePassword
public String getSSLKeystorePassword()
getResponseHeaderSize
public int getResponseHeaderSize()
isJmxEnabled
public boolean isJmxEnabled()
getServletContextBasePath
public File getServletContextBasePath()
- Sets the location on the filesystem that is returned as the base
path from servlets and static content handlers.
Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.