Code example for WeakHashMap

        httpClient.setHttpRequestRetryHandler(new RetryHandler(DEFAULT_MAX_RETRIES));
        threadPool = (ThreadPoolExecutor)Executors.newCachedThreadPool();
        requestMap = new WeakHashMap<Context, List<WeakReference<Future<?>>>>();
        clientHeaderMap = new HashMap<String, String>();
     * Get the underlying HttpClient instance. This is useful for setting 
     * additional fine-grained settings for requests by accessing the 
     * client's ConnectionManager, HttpParams and SchemeRegistry. 
    public HttpClient getHttpClient() {
        return this.httpClient;
     * Get the underlying HttpContext instance. This is useful for getting  
Stop searching for code, let great code find you!  Add Codota to your java IDE