List of usage examples for org.apache.http.impl.nio.conn PoolingClientAsyncConnectionManager PoolingClientAsyncConnectionManager
public PoolingClientAsyncConnectionManager(final ConnectingIOReactor ioreactor) throws IOReactorException
From source file:org.apache.http.impl.nio.client.AbstractHttpAsyncClient.java
protected AbstractHttpAsyncClient(final IOReactorConfig config) throws IOReactorException { super();// www .j a v a2 s.com final DefaultConnectingIOReactor defaultioreactor = new DefaultConnectingIOReactor(config); defaultioreactor.setExceptionHandler(new InternalIOReactorExceptionHandler(this.log)); this.connmgr = new PoolingClientAsyncConnectionManager(defaultioreactor); this.queue = new ConcurrentLinkedQueue<HttpAsyncRequestExecutionHandler<?>>(); }