Example usage for org.apache.http.impl.client.cache CacheEntryUpdater CacheEntryUpdater

List of usage examples for org.apache.http.impl.client.cache CacheEntryUpdater CacheEntryUpdater

Introduction

In this page you can find the example usage for org.apache.http.impl.client.cache CacheEntryUpdater CacheEntryUpdater.

Prototype

CacheEntryUpdater(final ResourceFactory resourceFactory) 

Source Link

Usage

From source file:org.apache.http.impl.client.cache.BasicHttpCache.java

public BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config) {
    this.resourceFactory = resourceFactory;
    this.uriExtractor = new CacheKeyGenerator();
    this.cacheEntryUpdater = new CacheEntryUpdater(resourceFactory);
    this.maxObjectSizeBytes = config.getMaxObjectSizeBytes();
    this.responseGenerator = new CachedHttpResponseGenerator();
    this.storage = storage;
    this.cacheInvalidator = new CacheInvalidator(this.uriExtractor, this.storage);
}