Package | Description |
---|---|
org.apache.http.client.config |
Client configuration APIs.
|
Modifier and Type | Method and Description |
---|---|
static RequestConfig.Builder |
RequestConfig.copy(RequestConfig config) |
static RequestConfig.Builder |
RequestConfig.custom() |
RequestConfig.Builder |
RequestConfig.Builder.setAuthenticationEnabled(boolean authenticationEnabled) |
RequestConfig.Builder |
RequestConfig.Builder.setCircularRedirectsAllowed(boolean circularRedirectsAllowed) |
RequestConfig.Builder |
RequestConfig.Builder.setConnectionRequestTimeout(int connectionRequestTimeout) |
RequestConfig.Builder |
RequestConfig.Builder.setConnectTimeout(int connectTimeout) |
RequestConfig.Builder |
RequestConfig.Builder.setContentCompressionEnabled(boolean contentCompressionEnabled) |
RequestConfig.Builder |
RequestConfig.Builder.setCookieSpec(String cookieSpec) |
RequestConfig.Builder |
RequestConfig.Builder.setDecompressionEnabled(boolean decompressionEnabled)
Deprecated.
(4.5) Set
setContentCompressionEnabled(boolean) to false and
add the Accept-Encoding request header. |
RequestConfig.Builder |
RequestConfig.Builder.setExpectContinueEnabled(boolean expectContinueEnabled) |
RequestConfig.Builder |
RequestConfig.Builder.setLocalAddress(InetAddress localAddress) |
RequestConfig.Builder |
RequestConfig.Builder.setMaxRedirects(int maxRedirects) |
RequestConfig.Builder |
RequestConfig.Builder.setNormalizeUri(boolean normalizeUri) |
RequestConfig.Builder |
RequestConfig.Builder.setProxy(org.apache.http.HttpHost proxy) |
RequestConfig.Builder |
RequestConfig.Builder.setProxyPreferredAuthSchemes(Collection<String> proxyPreferredAuthSchemes) |
RequestConfig.Builder |
RequestConfig.Builder.setRedirectsEnabled(boolean redirectsEnabled) |
RequestConfig.Builder |
RequestConfig.Builder.setRelativeRedirectsAllowed(boolean relativeRedirectsAllowed) |
RequestConfig.Builder |
RequestConfig.Builder.setSocketTimeout(int socketTimeout) |
RequestConfig.Builder |
RequestConfig.Builder.setStaleConnectionCheckEnabled(boolean staleConnectionCheckEnabled)
Deprecated.
|
RequestConfig.Builder |
RequestConfig.Builder.setTargetPreferredAuthSchemes(Collection<String> targetPreferredAuthSchemes) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.