List of usage examples for org.apache.http.impl.client.cache CacheEntryUpdater CacheEntryUpdater
CacheEntryUpdater(final ResourceFactory resourceFactory)
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); }