public class

DefaultHttpClient

extends AbstractHttpClient
java.lang.Object
   ↳ org.apache.http.impl.client.AbstractHttpClient
     ↳ org.apache.http.impl.client.DefaultHttpClient

Class Overview

Default implementation of an HTTP client.
This class replaces HttpClient in HttpClient 3.

Summary

Public Constructors
DefaultHttpClient(ClientConnectionManager conman, HttpParams params)
Creates a new HTTP client from parameters and a connection manager.
DefaultHttpClient(HttpParams params)
DefaultHttpClient()
Protected Methods
AuthSchemeRegistry createAuthSchemeRegistry()
ClientConnectionManager createClientConnectionManager()
ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy()
ConnectionReuseStrategy createConnectionReuseStrategy()
CookieSpecRegistry createCookieSpecRegistry()
CookieStore createCookieStore()
CredentialsProvider createCredentialsProvider()
HttpContext createHttpContext()
HttpParams createHttpParams()
BasicHttpProcessor createHttpProcessor()
HttpRequestRetryHandler createHttpRequestRetryHandler()
HttpRoutePlanner createHttpRoutePlanner()
AuthenticationHandler createProxyAuthenticationHandler()
RedirectHandler createRedirectHandler()
HttpRequestExecutor createRequestExecutor()
AuthenticationHandler createTargetAuthenticationHandler()
UserTokenHandler createUserTokenHandler()
[Expand]
Inherited Methods
From class org.apache.http.impl.client.AbstractHttpClient
From class java.lang.Object
From interface org.apache.http.client.HttpClient

Public Constructors

public DefaultHttpClient (ClientConnectionManager conman, HttpParams params)

Creates a new HTTP client from parameters and a connection manager.

Parameters
conman the connection manager
params the parameters

public DefaultHttpClient (HttpParams params)

public DefaultHttpClient ()

Protected Methods

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 ()