## Uses of Class
org.apache.hc.client5.http.config.RequestConfig.Builder

Packages that use RequestConfig.Builder
Package | Description
--- | ---
org.apache.hc.client5.http.config | HTTP client configuration APIs.

### Uses of RequestConfig.Builder in org.apache.hc.client5.http.config

Methods in org.apache.hc.client5.http.config that return RequestConfig.Builder
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)` Determines whether authentication should be handled automatically.
`RequestConfig.Builder` | RequestConfig.Builder.`setCircularRedirectsAllowed(boolean circularRedirectsAllowed)` Determines whether circular redirects (redirects to the same location) should be allowed.
`RequestConfig.Builder` | RequestConfig.Builder.`setConnectionKeepAlive(org.apache.hc.core5.util.TimeValue connectionKeepAlive)` Determines the default of value of connection keep-alive time period when not explicitly communicated by the origin server with a `Keep-Alive` response header.
`RequestConfig.Builder` | RequestConfig.Builder.`setConnectionRequestTimeout(long connectionRequestTimeout, TimeUnit timeUnit)`
`RequestConfig.Builder` | RequestConfig.Builder.`setConnectionRequestTimeout(org.apache.hc.core5.util.Timeout connectionRequestTimeout)` Returns the connection lease request timeout used when requesting a connection from the connection manager.
`RequestConfig.Builder` | RequestConfig.Builder.`setConnectTimeout(long connectTimeout, TimeUnit timeUnit)`
`RequestConfig.Builder` | RequestConfig.Builder.`setConnectTimeout(org.apache.hc.core5.util.Timeout connectTimeout)` Determines the timeout until a new connection is fully established.
`RequestConfig.Builder` | RequestConfig.Builder.`setContentCompressionEnabled(boolean contentCompressionEnabled)` Determines whether the target server is requested to compress content.
`RequestConfig.Builder` | RequestConfig.Builder.`setCookieSpec(String cookieSpec)` Determines the name of the cookie specification to be used for HTTP state management.
`RequestConfig.Builder` | RequestConfig.Builder.`setDefaultKeepAlive(long defaultKeepAlive, TimeUnit timeUnit)`
`RequestConfig.Builder` | RequestConfig.Builder.`setExpectContinueEnabled(boolean expectContinueEnabled)` Determines whether the 'Expect: 100-Continue' handshake is enabled for entity enclosing methods.
`RequestConfig.Builder` | RequestConfig.Builder.`setHardCancellationEnabled(boolean hardCancellationEnabled)` Determines whether request cancellation, such as through `Future#cancel(boolean)`, should kill the underlying connection.
`RequestConfig.Builder` | RequestConfig.Builder.`setMaxRedirects(int maxRedirects)` Returns the maximum number of redirects to be followed.
`RequestConfig.Builder` | RequestConfig.Builder.`setProxy(org.apache.hc.core5.http.HttpHost proxy)` Returns HTTP proxy to be used for request execution.
`RequestConfig.Builder` | RequestConfig.Builder.`setProxyPreferredAuthSchemes(Collection<String> proxyPreferredAuthSchemes)` Determines the order of preference for supported authentication schemes by their names when authenticating with the proxy host.
`RequestConfig.Builder` | RequestConfig.Builder.`setRedirectsEnabled(boolean redirectsEnabled)` Determines whether redirects should be handled automatically.
`RequestConfig.Builder` | RequestConfig.Builder.`setResponseTimeout(long responseTimeout, TimeUnit timeUnit)`
`RequestConfig.Builder` | RequestConfig.Builder.`setResponseTimeout(org.apache.hc.core5.util.Timeout responseTimeout)` Determines the timeout until arrival of a response from the opposite endpoint.
`RequestConfig.Builder` | RequestConfig.Builder.`setTargetPreferredAuthSchemes(Collection<String> targetPreferredAuthSchemes)` Determines the order of preference for supported authentication schemes by their names when authenticating with the target host.