com.nesscomputing.httpserver
Class HttpServerConfig

java.lang.Object
  extended by com.nesscomputing.httpserver.HttpServerConfig

public abstract class HttpServerConfig
extends Object


Constructor Summary
HttpServerConfig()
           
 
Method Summary
 int getMaxIdletime()
           
 int getMaxThreads()
           
 int getMinThreads()
           
 int getResponseHeaderSize()
           
 Class<? extends HttpServer> getServerClass()
           
 File getServletContextBasePath()
          Sets the location on the filesystem that is returned as the base path from servlets and static content handlers.
 org.skife.config.TimeSpan getShutdownTimeout()
           
 String getSSLKeystorePassword()
           
 String getSSLKeystorePath()
           
 String getSSLKeystoreType()
           
 int getThreadMaxIdletime()
           
 boolean isForwarded()
          Use the X-Forwarded-For headers to set remote host, port etc.
 boolean isJmxEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServerConfig

public HttpServerConfig()
Method Detail

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.