Modifier and Type | Class and Description |
---|---|
static class |
RequestConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static RequestConfig |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
protected RequestConfig |
clone() |
static RequestConfig.Builder |
copy(RequestConfig config) |
static RequestConfig.Builder |
custom() |
int |
getConnectionRequestTimeout() |
int |
getConnectTimeout() |
String |
getCookieSpec() |
InetAddress |
getLocalAddress() |
int |
getMaxRedirects() |
HttpHost |
getProxy() |
Collection<String> |
getProxyPreferredAuthSchemes() |
int |
getSocketTimeout() |
Collection<String> |
getTargetPreferredAuthSchemes() |
boolean |
isAuthenticationEnabled() |
boolean |
isCircularRedirectsAllowed() |
boolean |
isExpectContinueEnabled() |
boolean |
isRedirectsEnabled() |
boolean |
isRelativeRedirectsAllowed() |
boolean |
isStaleConnectionCheckEnabled() |
String |
toString() |
public static final RequestConfig DEFAULT
public boolean isExpectContinueEnabled()
public HttpHost getProxy()
public InetAddress getLocalAddress()
public boolean isStaleConnectionCheckEnabled()
public String getCookieSpec()
public boolean isRedirectsEnabled()
public boolean isRelativeRedirectsAllowed()
public boolean isCircularRedirectsAllowed()
public int getMaxRedirects()
public boolean isAuthenticationEnabled()
public Collection<String> getTargetPreferredAuthSchemes()
public Collection<String> getProxyPreferredAuthSchemes()
public int getConnectionRequestTimeout()
public int getConnectTimeout()
public int getSocketTimeout()
protected RequestConfig clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static RequestConfig.Builder custom()
public static RequestConfig.Builder copy(RequestConfig config)
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.