Class HttpConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.nio.server.HttpConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintlongintio.netty.handler.codec.http.HttpHeadersbooleanbooleanprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidvoidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, load, loadField, name, temp, updateConfigFile, updateFilePath
-
Field Details
-
CFG
-
-
Constructor Details
-
HttpConfig
public HttpConfig()
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
setStatusListener
-
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) throws Exception - Specified by:
loadCustomizedConfigsin classBootConfig- Throws:
Exception
-
getRootFolder
-
getServerDefaultResponseHeaders
public io.netty.handler.codec.http.HttpHeaders getServerDefaultResponseHeaders() -
getDocroot
-
getWebResources
-
getWelcomePage
-
isDownloadMode
public boolean isDownloadMode() -
getHttpClient
-
getHttpClientDefaultRequestHeaders
-
getProtocol
-
isHostnameVerificationEnabled
-
getProxyHost
-
getProxyPort
public int getProxyPort() -
getProxyUserName
-
getProxyUserPwd
-
getProxyAuthorizationBasicValue
-
isFromJsonFailOnUnknownProperties
public boolean isFromJsonFailOnUnknownProperties() -
getHttpClientTimeout
public long getHttpClientTimeout() -
getHttpClientCoreSize
public int getHttpClientCoreSize() -
getHttpClientMaxSize
public int getHttpClientMaxSize() -
getHttpClientQueueSize
public int getHttpClientQueueSize() -
getHttpClientInfo
-
getTpeInfo
-
getTempUoloadDir
-