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