类 HttpConfig


  • public class HttpConfig
    extends Object
    作者:
    bytedance
    • 构造器详细资料

      • HttpConfig

        public HttpConfig()
    • 方法详细资料

      • 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)