Class HttpClientConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.nio.client.HttpClientConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
Fields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintlongintbooleanbooleanprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidvoidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, instance, load, loadField, name, reset, temp, updateConfigFile, updateFilePath
-
Constructor Details
-
HttpClientConfig
protected HttpClientConfig()
-
-
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
-
getHttpClient
-
getHttpClientDefaultRequestHeaders
-
getProtocol
-
isHostnameVerificationEnabled
-
getProxyHost
-
getProxyPort
public int getProxyPort() -
getProxyUserName
-
getProxyUserPwd
-
getProxyAuthorizationBasicValue
-
isFromJsonCaseInsensitive
public boolean isFromJsonCaseInsensitive() -
isFromJsonFailOnUnknownProperties
public boolean isFromJsonFailOnUnknownProperties() -
getHttpClientTimeoutMs
public long getHttpClientTimeoutMs() -
getHttpClientCoreSize
public int getHttpClientCoreSize() -
getHttpClientMaxSize
public int getHttpClientMaxSize() -
getHttpClientQueueSize
public int getHttpClientQueueSize() -
getHttpClientInfo
-
getTpeInfo
-