public static class HttpConfigOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
HttpConfigOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
HttpConfigOptions |
build() |
HttpConfigOptions.Builder |
disableSslVerification(boolean disableSslVerification)
Sets flag to disable any SSL certificate verification during HTTP requests.
|
HttpConfigOptions.Builder |
proxy(java.net.Proxy proxy)
Sets HTTP proxy to be used by connections with the current client.
|
public HttpConfigOptions build()
public HttpConfigOptions.Builder disableSslVerification(boolean disableSslVerification)
disableSslVerification
- whether to disable SSL verification or notpublic HttpConfigOptions.Builder proxy(java.net.Proxy proxy)
proxy
- the desired Proxy