org.apache.http.client.config
Class RequestConfig

java.lang.Object
  extended by org.apache.http.client.config.RequestConfig
All Implemented Interfaces:
Cloneable

public class RequestConfig
extends Object
implements Cloneable


Nested Class Summary
static class RequestConfig.Builder
           
 
Field Summary
static RequestConfig DEFAULT
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final RequestConfig DEFAULT
Method Detail

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.