Package com.ibm.cloud.sdk.core.http
Class HttpConfigOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.http.HttpConfigOptions
-
public class HttpConfigOptions extends java.lang.ObjectOptions class for configuring the HTTP client.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpConfigOptions.Builderstatic classHttpConfigOptions.LoggingLevelLevels of information to log when making HTTP requests, from least (NONE) to most (BODY).
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthenticatorgetAuthenticator()intgetDefaultRetryInterval()Deprecated.As of 9.13.0, use HttpConfigOptions.getMaxRetryInterval() instead.java.lang.BooleangetGzipCompression()HttpConfigOptions.LoggingLevelgetLoggingLevel()intgetMaxRetries()intgetMaxRetryInterval()java.net.ProxygetProxy()okhttp3.AuthenticatorgetProxyAuthenticator()java.lang.BooleangetRetries()booleanshouldDisableSslVerification()
-
-
-
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()
-
getLoggingLevel
public HttpConfigOptions.LoggingLevel getLoggingLevel()
-
getAuthenticator
public Authenticator getAuthenticator()
-
getDefaultRetryInterval
@Deprecated public int getDefaultRetryInterval()
Deprecated.As of 9.13.0, use HttpConfigOptions.getMaxRetryInterval() instead.- Returns:
- the default retry interval
-
-