org.apache.http.client.config
Class RequestConfig
java.lang.Object
org.apache.http.client.config.RequestConfig
- All Implemented Interfaces:
- Cloneable
public class RequestConfig
- extends Object
- implements Cloneable
DEFAULT
public static final RequestConfig DEFAULT
isExpectContinueEnabled
public boolean isExpectContinueEnabled()
getProxy
public HttpHost getProxy()
getLocalAddress
public InetAddress getLocalAddress()
isStaleConnectionCheckEnabled
public boolean isStaleConnectionCheckEnabled()
getCookieSpec
public String getCookieSpec()
isRedirectsEnabled
public boolean isRedirectsEnabled()
isRelativeRedirectsAllowed
public boolean isRelativeRedirectsAllowed()
isCircularRedirectsAllowed
public boolean isCircularRedirectsAllowed()
getMaxRedirects
public int getMaxRedirects()
isAuthenticationEnabled
public boolean isAuthenticationEnabled()
getTargetPreferredAuthSchemes
public Collection<String> getTargetPreferredAuthSchemes()
getProxyPreferredAuthSchemes
public Collection<String> getProxyPreferredAuthSchemes()
getConnectionRequestTimeout
public int getConnectionRequestTimeout()
getConnectTimeout
public int getConnectTimeout()
getSocketTimeout
public int getSocketTimeout()
clone
protected RequestConfig clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
toString
public String toString()
- Overrides:
toString
in class Object
custom
public static RequestConfig.Builder custom()
copy
public static RequestConfig.Builder copy(RequestConfig config)
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.