public class HttpConfig extends Object
| 构造器和说明 |
|---|
HttpConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getConnectTimeout() |
String |
getKeyMaterialPath() |
String |
getKeyPassword() |
Integer |
getMaxPerRoute() |
Integer |
getMaxTotal() |
Integer |
getRequestTimeout() |
Integer |
getSocketTimeout() |
String |
getStorePassword() |
String |
getTrustMaterialPath() |
String |
getTrustStrategy() |
void |
initTimeOut(int timeBase)
已过时。
|
boolean |
isCustomKeyTrustEnable() |
boolean |
isTrustDisable() |
void |
setConnectTimeout(Integer connectTimeout) |
void |
setCustomKeyTrustEnable(boolean customKeyTrustEnable) |
void |
setKeyMaterialPath(String keyMaterialPath) |
void |
setKeyPassword(String keyPassword) |
void |
setMaxPerRoute(Integer maxPerRoute) |
void |
setRequestTimeout(Integer requestTimeout) |
void |
setSocketTimeout(Integer socketTimeout) |
void |
setStorePassword(String storePassword) |
void |
setTrustDisable(boolean trustDisable) |
void |
setTrustMaterialPath(String trustMaterialPath) |
void |
setTrustStrategy(String trustStrategy) |
public Integer getRequestTimeout()
public void setRequestTimeout(Integer requestTimeout)
public Integer getConnectTimeout()
public void setConnectTimeout(Integer connectTimeout)
public Integer getSocketTimeout()
public void setSocketTimeout(Integer socketTimeout)
public boolean isCustomKeyTrustEnable()
public void setCustomKeyTrustEnable(boolean customKeyTrustEnable)
public String getKeyMaterialPath()
public void setKeyMaterialPath(String keyMaterialPath)
public String getKeyPassword()
public void setKeyPassword(String keyPassword)
public String getStorePassword()
public void setStorePassword(String storePassword)
public String getTrustMaterialPath()
public void setTrustMaterialPath(String trustMaterialPath)
public String getTrustStrategy()
public void setTrustStrategy(String trustStrategy)
public boolean isTrustDisable()
public void setTrustDisable(boolean trustDisable)
@Deprecated public void initTimeOut(int timeBase)
public Integer getMaxTotal()
public Integer getMaxPerRoute()
public void setMaxPerRoute(Integer maxPerRoute)
Copyright © 2021. All rights reserved.