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() |
org.apache.hc.core5.util.TimeValue |
getConnectionKeepAlive() |
org.apache.hc.core5.util.Timeout |
getConnectionRequestTimeout() |
org.apache.hc.core5.util.Timeout |
getConnectTimeout() |
String |
getCookieSpec() |
int |
getMaxRedirects() |
org.apache.hc.core5.http.HttpHost |
getProxy() |
Collection<String> |
getProxyPreferredAuthSchemes() |
org.apache.hc.core5.util.Timeout |
getResponseTimeout() |
Collection<String> |
getTargetPreferredAuthSchemes() |
boolean |
isAuthenticationEnabled() |
boolean |
isCircularRedirectsAllowed() |
boolean |
isContentCompressionEnabled() |
boolean |
isExpectContinueEnabled() |
boolean |
isHardCancellationEnabled() |
boolean |
isRedirectsEnabled() |
String |
toString() |
public static final RequestConfig DEFAULT
public boolean isExpectContinueEnabled()
public org.apache.hc.core5.http.HttpHost getProxy()
public String getCookieSpec()
public boolean isRedirectsEnabled()
public boolean isCircularRedirectsAllowed()
public int getMaxRedirects()
public boolean isAuthenticationEnabled()
public Collection<String> getTargetPreferredAuthSchemes()
public Collection<String> getProxyPreferredAuthSchemes()
public org.apache.hc.core5.util.Timeout getConnectionRequestTimeout()
public org.apache.hc.core5.util.Timeout getConnectTimeout()
public org.apache.hc.core5.util.Timeout getResponseTimeout()
public org.apache.hc.core5.util.TimeValue getConnectionKeepAlive()
public boolean isContentCompressionEnabled()
public boolean isHardCancellationEnabled()
protected RequestConfig clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static RequestConfig.Builder custom()
public static RequestConfig.Builder copy(RequestConfig config)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.