类 HttpConfig
- java.lang.Object
-
- com.datarangers.config.HttpConfig
-
public class HttpConfig extends Object
- 作者:
- bytedance
-
-
构造器概要
构造器 构造器 说明 HttpConfig()
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 IntegergetConnectTimeout()StringgetKeyMaterialPath()StringgetKeyPassword()IntegergetMaxPerRoute()IntegergetMaxTotal()IntegergetRequestTimeout()IntegergetSocketTimeout()StringgetStorePassword()StringgetTrustMaterialPath()StringgetTrustStrategy()voidinitTimeOut(int timeBase)已过时。booleanisCustomKeyTrustEnable()booleanisTrustDisable()voidsetConnectTimeout(Integer connectTimeout)voidsetCustomKeyTrustEnable(boolean customKeyTrustEnable)voidsetKeyMaterialPath(String keyMaterialPath)voidsetKeyPassword(String keyPassword)voidsetMaxPerRoute(Integer maxPerRoute)voidsetRequestTimeout(Integer requestTimeout)voidsetSocketTimeout(Integer socketTimeout)voidsetStorePassword(String storePassword)voidsetTrustDisable(boolean trustDisable)voidsetTrustMaterialPath(String trustMaterialPath)voidsetTrustStrategy(String trustStrategy)
-
-
-
方法详细资料
-
getRequestTimeout
public Integer getRequestTimeout()
-
setRequestTimeout
public void setRequestTimeout(Integer requestTimeout)
-
getConnectTimeout
public Integer getConnectTimeout()
-
setConnectTimeout
public void setConnectTimeout(Integer connectTimeout)
-
getSocketTimeout
public Integer getSocketTimeout()
-
setSocketTimeout
public void setSocketTimeout(Integer socketTimeout)
-
isCustomKeyTrustEnable
public boolean isCustomKeyTrustEnable()
-
setCustomKeyTrustEnable
public void setCustomKeyTrustEnable(boolean customKeyTrustEnable)
-
getKeyMaterialPath
public String getKeyMaterialPath()
-
setKeyMaterialPath
public void setKeyMaterialPath(String keyMaterialPath)
-
getKeyPassword
public String getKeyPassword()
-
setKeyPassword
public void setKeyPassword(String keyPassword)
-
getStorePassword
public String getStorePassword()
-
setStorePassword
public void setStorePassword(String storePassword)
-
getTrustMaterialPath
public String getTrustMaterialPath()
-
setTrustMaterialPath
public void setTrustMaterialPath(String trustMaterialPath)
-
getTrustStrategy
public String getTrustStrategy()
-
setTrustStrategy
public void setTrustStrategy(String trustStrategy)
-
isTrustDisable
public boolean isTrustDisable()
-
setTrustDisable
public void setTrustDisable(boolean trustDisable)
-
initTimeOut
@Deprecated public void initTimeOut(int timeBase)
已过时。
-
getMaxTotal
public Integer getMaxTotal()
-
getMaxPerRoute
public Integer getMaxPerRoute()
-
setMaxPerRoute
public void setMaxPerRoute(Integer maxPerRoute)
-
-