Save This Page
Home » httpcomponents-client-4.0.1-src » org.apache » http » impl » client » [javadoc | source]
org.apache.http.impl.client
public class: DefaultHttpClient [javadoc | source]
java.lang.Object
   org.apache.http.impl.client.AbstractHttpClient
      org.apache.http.impl.client.DefaultHttpClient

All Implemented Interfaces:
    HttpClient

Default implementation of AbstractHttpClient .

This class creates an instance of SingleClientConnManager for connection management if not explicitly set.

This class creates the following chain of protocol interceptors per default:

This class sets up the following parameters if not explicitly set:

The following parameters can be used to customize the behavior of this class:

Constructor:
 public DefaultHttpClient() 
 public DefaultHttpClient(HttpParams params) 
 public DefaultHttpClient(ClientConnectionManager conman,
    HttpParams params) 
    Creates a new HTTP client from parameters and a connection manager.
    Parameters:
    params - the parameters
    conman - the connection manager
Method from org.apache.http.impl.client.DefaultHttpClient Summary:
createAuthSchemeRegistry,   createClientConnectionManager,   createConnectionKeepAliveStrategy,   createConnectionReuseStrategy,   createCookieSpecRegistry,   createCookieStore,   createCredentialsProvider,   createHttpContext,   createHttpParams,   createHttpProcessor,   createHttpRequestRetryHandler,   createHttpRoutePlanner,   createProxyAuthenticationHandler,   createRedirectHandler,   createRequestExecutor,   createTargetAuthenticationHandler,   createUserTokenHandler
Methods from org.apache.http.impl.client.AbstractHttpClient:
addRequestInterceptor,   addRequestInterceptor,   addResponseInterceptor,   addResponseInterceptor,   clearRequestInterceptors,   clearResponseInterceptors,   createAuthSchemeRegistry,   createClientConnectionManager,   createClientRequestDirector,   createConnectionKeepAliveStrategy,   createConnectionReuseStrategy,   createCookieSpecRegistry,   createCookieStore,   createCredentialsProvider,   createHttpContext,   createHttpParams,   createHttpProcessor,   createHttpRequestRetryHandler,   createHttpRoutePlanner,   createProxyAuthenticationHandler,   createRedirectHandler,   createRequestExecutor,   createTargetAuthenticationHandler,   createUserTokenHandler,   determineParams,   execute,   execute,   execute,   execute,   execute,   execute,   execute,   execute,   getAuthSchemes,   getConnectionKeepAliveStrategy,   getConnectionManager,   getConnectionReuseStrategy,   getCookieSpecs,   getCookieStore,   getCredentialsProvider,   getHttpProcessor,   getHttpRequestRetryHandler,   getParams,   getProxyAuthenticationHandler,   getRedirectHandler,   getRequestExecutor,   getRequestInterceptor,   getRequestInterceptorCount,   getResponseInterceptor,   getResponseInterceptorCount,   getRoutePlanner,   getTargetAuthenticationHandler,   getUserTokenHandler,   removeRequestInterceptorByClass,   removeResponseInterceptorByClass,   setAuthSchemes,   setCookieSpecs,   setCookieStore,   setCredentialsProvider,   setHttpRequestRetryHandler,   setKeepAliveStrategy,   setParams,   setProxyAuthenticationHandler,   setRedirectHandler,   setReuseStrategy,   setRoutePlanner,   setTargetAuthenticationHandler,   setUserTokenHandler
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.impl.client.DefaultHttpClient Detail:
 protected AuthSchemeRegistry createAuthSchemeRegistry() 
 protected ClientConnectionManager createClientConnectionManager() 
 protected ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy() 
 protected ConnectionReuseStrategy createConnectionReuseStrategy() 
 protected CookieSpecRegistry createCookieSpecRegistry() 
 protected CookieStore createCookieStore() 
 protected CredentialsProvider createCredentialsProvider() 
 protected HttpContext createHttpContext() 
 protected HttpParams createHttpParams() 
 protected BasicHttpProcessor createHttpProcessor() 
 protected HttpRequestRetryHandler createHttpRequestRetryHandler() 
 protected HttpRoutePlanner createHttpRoutePlanner() 
 protected AuthenticationHandler createProxyAuthenticationHandler() 
 protected RedirectHandler createRedirectHandler() 
 protected HttpRequestExecutor createRequestExecutor() 
 protected AuthenticationHandler createTargetAuthenticationHandler() 
 protected UserTokenHandler createUserTokenHandler()