| Modifier and Type | Class and Description |
|---|---|
static class |
RequestConfig.Builder |
| Modifier and Type | Field and Description |
|---|---|
static RequestConfig |
DEFAULT |
| Modifier | Constructor and Description |
|---|---|
protected |
RequestConfig()
Intended for CDI compatibility
|
| Modifier and Type | Method and Description |
|---|---|
protected RequestConfig |
clone() |
static RequestConfig.Builder |
copy(RequestConfig config) |
static RequestConfig.Builder |
custom() |
TimeValue |
getConnectionKeepAlive() |
Timeout |
getConnectionRequestTimeout() |
Timeout |
getConnectTimeout()
Deprecated.
|
String |
getCookieSpec() |
PriorityValue |
getH2Priority()
Returns the HTTP/2+ priority preference for this request or
null if unset. |
int |
getMaxRedirects() |
HttpHost |
getProxy() |
Collection<String> |
getProxyPreferredAuthSchemes() |
Timeout |
getResponseTimeout() |
Collection<String> |
getTargetPreferredAuthSchemes() |
Path |
getUnixDomainSocket() |
boolean |
isAuthenticationEnabled() |
boolean |
isCircularRedirectsAllowed() |
boolean |
isContentCompressionEnabled() |
boolean |
isExpectContinueEnabled() |
boolean |
isHardCancellationEnabled() |
boolean |
isProtocolUpgradeEnabled() |
boolean |
isRedirectsEnabled() |
String |
toString() |
public static final RequestConfig DEFAULT
public boolean isExpectContinueEnabled()
public HttpHost getProxy()
RequestConfig.Builder.setProxy(HttpHost)public String getCookieSpec()
public boolean isRedirectsEnabled()
public boolean isCircularRedirectsAllowed()
public int getMaxRedirects()
public boolean isAuthenticationEnabled()
public Collection<String> getTargetPreferredAuthSchemes()
public Collection<String> getProxyPreferredAuthSchemes()
public Timeout getConnectionRequestTimeout()
@Deprecated public Timeout getConnectTimeout()
ConnectionConfig.getConnectTimeout().public Timeout getResponseTimeout()
public TimeValue getConnectionKeepAlive()
public boolean isContentCompressionEnabled()
public boolean isHardCancellationEnabled()
public boolean isProtocolUpgradeEnabled()
(boolean)public Path getUnixDomainSocket()
@Experimental public PriorityValue getH2Priority()
null if unset.protected RequestConfig clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic static RequestConfig.Builder custom()
public static RequestConfig.Builder copy(RequestConfig config)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.