public static final class ConnectionOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionOptions.Builder |
allowSelfSignedCertificates(boolean isAllowSelfSignedCertificates) |
ConnectionOptions |
build() |
ConnectionOptions.Builder |
connectionTimeoutMs(int connectionTimeoutMs) |
ConnectionOptions.Builder |
disableHostnameVerification(boolean isDisableHostnameVerification) |
ConnectionOptions.Builder |
maxConnections(int maxConnections) |
ConnectionOptions.Builder |
proxyHost(String proxyHost) |
ConnectionOptions.Builder |
proxyPassword(String proxyPassword) |
ConnectionOptions.Builder |
proxyPort(int proxyPort) |
ConnectionOptions.Builder |
proxyProtocol(String proxyProtocol) |
ConnectionOptions.Builder |
proxyUsername(String proxyUsername) |
ConnectionOptions.Builder |
requestTimeoutMs(int requestTimeoutMs) |
ConnectionOptions.Builder |
socketTimeoutMs(int socketTimeoutMs) |
ConnectionOptions.Builder |
useSystemProperties(boolean isUseSystemPropertes) |
public ConnectionOptions.Builder useSystemProperties(boolean isUseSystemPropertes)
public ConnectionOptions.Builder maxConnections(int maxConnections)
public ConnectionOptions.Builder allowSelfSignedCertificates(boolean isAllowSelfSignedCertificates)
public ConnectionOptions.Builder disableHostnameVerification(boolean isDisableHostnameVerification)
public ConnectionOptions.Builder connectionTimeoutMs(int connectionTimeoutMs)
public ConnectionOptions.Builder requestTimeoutMs(int requestTimeoutMs)
public ConnectionOptions.Builder socketTimeoutMs(int socketTimeoutMs)
public ConnectionOptions.Builder proxyHost(String proxyHost)
public ConnectionOptions.Builder proxyPort(int proxyPort)
public ConnectionOptions.Builder proxyProtocol(String proxyProtocol)
public ConnectionOptions.Builder proxyUsername(String proxyUsername)
public ConnectionOptions.Builder proxyPassword(String proxyPassword)
public ConnectionOptions build()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.