Class HttpConfigOptions


  • public class HttpConfigOptions
    extends java.lang.Object
    Options class for configuring the HTTP client.
    • Method Detail

      • shouldDisableSslVerification

        public boolean shouldDisableSslVerification()
      • getGzipCompression

        public java.lang.Boolean getGzipCompression()
      • getRetries

        public java.lang.Boolean getRetries()
      • getMaxRetries

        public int getMaxRetries()
      • getMaxRetryInterval

        public int getMaxRetryInterval()
      • getProxy

        public java.net.Proxy getProxy()
      • getProxyAuthenticator

        public okhttp3.Authenticator getProxyAuthenticator()
      • getDefaultRetryInterval

        @Deprecated
        public int getDefaultRetryInterval()
        Deprecated.
        As of 9.13.0, use HttpConfigOptions.getMaxRetryInterval() instead.
        Returns:
        the default retry interval