public class JcsegServerConfig extends ServerConfig
appBasePath, charset, host, httpIdleTimeout, JETTY_DEFAULT_CHARSET, maxThreadPoolSize, outputBufferSize, port, requestHeaderSize, responseHeaderSize, threadIdleTimeout| Constructor and Description |
|---|
JcsegServerConfig() |
JcsegServerConfig(String configFile)
construct method
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigFile() |
JSONObject |
getGlobalConfig() |
void |
resetFromFile(String configFile)
initialize it from the specifield config file
|
void |
setConfigFile(String configFile) |
void |
setGlobalConfig(JSONObject globalConfig) |
getAppBasePath, getCharset, getHost, getHttpIdleTimeout, getMaxThreadPoolSize, getOutputBufferSize, getPort, getRequestHeaderSize, getResponseHeaderSize, getThreadIdleTimeout, isDefaultCharset, setAppBasePath, setCharset, setHost, setHttpIdleTimeout, setMaxThreadPoolSize, setOutputBufferSize, setPort, setRequestHeaderSize, setResponseHeaderSize, setThreadIdleTimeoutpublic JcsegServerConfig(String configFile) throws IOException
configFile - IOExceptionpublic JcsegServerConfig()
public void resetFromFile(String configFile) throws IOException
configFile - IOExceptionpublic String getConfigFile()
public void setConfigFile(String configFile)
public JSONObject getGlobalConfig()
public void setGlobalConfig(JSONObject globalConfig)
Copyright © 2016. All Rights Reserved.