List of usage examples for org.apache.http.impl.client.cache AsynchronousValidator AsynchronousValidator
AsynchronousValidator(CachingHttpClient cachingClient, ExecutorService executor)
From source file:org.apache.http.impl.client.cache.CachingHttpClient.java
private AsynchronousValidator makeAsynchronousValidator(CacheConfig config) { if (config.getAsynchronousWorkersMax() > 0) { return new AsynchronousValidator(this, config); }//from w w w. j a va 2 s.c o m return null; }