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.Object
Options class for configuring the HTTP client.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpConfigOptions.Builder
static class
HttpConfigOptions.LoggingLevel
Levels 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 Authenticator
getAuthenticator()
int
getDefaultRetryInterval()
Deprecated.As of 9.13.0, use HttpConfigOptions.getMaxRetryInterval() instead.java.lang.Boolean
getGzipCompression()
HttpConfigOptions.LoggingLevel
getLoggingLevel()
int
getMaxRetries()
int
getMaxRetryInterval()
java.net.Proxy
getProxy()
okhttp3.Authenticator
getProxyAuthenticator()
java.lang.Boolean
getRetries()
boolean
shouldDisableSslVerification()
-
-
-
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
-
-