Code example for BasicHttpProcessor

0
	private HttpClient delgatedHttpClientImpl;
	private AppIdentification appIdentification;
	private MetricsCollectorService metricsCollector;
	private ApplicationConfigurationService webManagerClientConfigLoader;
 
	BasicHttpProcessor httpproc = new BasicHttpProcessor();
	CachingHttpClient cachingClient;
 
	public CachingHttpClient getCachingClient() { 
		return cachingClient;
	} 
	 
	// Added constructor to make this look closer to Apache's HttpClient constructors 
	public HttpClientWrapper(AppIdentification appIdentification,
			MetricsCollectorService metricsCollector,
			ApplicationConfigurationService webManagerClientConfigLoader)
	{ 
		 
		HttpClient delegateClient = AndroidHttpClient.newInstance(appIdentification.getApplicationId());
		initialize(appIdentification, metricsCollector, webManagerClientConfigLoader,
				delegateClient);