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
|
public static final RequestConfig DEFAULT
public boolean isExpectContinueEnabled()
@Deprecated public org.apache.hc.core5.http.HttpHost getProxy()
DefaultProxyRoutePlanner
or a custom HttpRoutePlanner
.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 org.apache.hc.core5.util.Timeout getConnectionRequestTimeout()
@Deprecated public org.apache.hc.core5.util.Timeout getConnectTimeout()
ConnectionConfig.getConnectTimeout()
.public org.apache.hc.core5.util.Timeout getResponseTimeout()
public org.apache.hc.core5.util.TimeValue getConnectionKeepAlive()
public boolean isContentCompressionEnabled()
public boolean isHardCancellationEnabled()
public boolean isProtocolUpgradeEnabled()
(boolean)
protected RequestConfig clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static RequestConfig.Builder custom()
public static RequestConfig.Builder copy(RequestConfig config)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.