Code example for HttpHost

0
    public void disableResponseCache(boolean wipe) {
        if (responseCache != null && wipe) {
            responseCache.clear();
        } 
        responseCache = null;
    } 
 
    /** 
     * @return the response cache, if enabled, otherwise null 
     */ 
    public synchronized HttpResponseCache getResponseCache() {
        return responseCache;
    } 
 
    public void setHttpClient(AbstractHttpClient httpClient) {
        this.httpClient = httpClient;
    } 
 
    public AbstractHttpClient getHttpClient() {
        return httpClient;
    }