public static final class QCloudHttpClient.Builder
extends java.lang.Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
QCloudHttpClient.Builder |
addPrefetchHost(java.lang.String host) |
QCloudHttpClient |
build() |
QCloudHttpClient.Builder |
dnsCache(boolean dnsCache) |
QCloudHttpClient.Builder |
enableDebugLog(boolean enableDebugLog) |
QCloudHttpClient.Builder |
setConnectionTimeout(int connectionTimeout) |
QCloudHttpClient.Builder |
setInheritBuilder(okhttp3.OkHttpClient.Builder builder) |
QCloudHttpClient.Builder |
setNetworkClient(NetworkClient networkClient) |
QCloudHttpClient.Builder |
setQCloudHttpRetryHandler(QCloudHttpRetryHandler qCloudHttpRetryHandler) |
QCloudHttpClient.Builder |
setRetryStrategy(RetryStrategy retryStrategy) |
QCloudHttpClient.Builder |
setSocketTimeout(int socketTimeout) |
public QCloudHttpClient.Builder setConnectionTimeout(int connectionTimeout)
public QCloudHttpClient.Builder setSocketTimeout(int socketTimeout)
public QCloudHttpClient.Builder setRetryStrategy(RetryStrategy retryStrategy)
public QCloudHttpClient.Builder setQCloudHttpRetryHandler(QCloudHttpRetryHandler qCloudHttpRetryHandler)
public QCloudHttpClient.Builder setInheritBuilder(okhttp3.OkHttpClient.Builder builder)
public QCloudHttpClient.Builder setNetworkClient(NetworkClient networkClient)
public QCloudHttpClient.Builder enableDebugLog(boolean enableDebugLog)
public QCloudHttpClient.Builder addPrefetchHost(java.lang.String host)
public QCloudHttpClient.Builder dnsCache(boolean dnsCache)
public QCloudHttpClient build()