List of usage examples for org.apache.http.impl.nio.client InternalIOReactorExceptionHandler InternalIOReactorExceptionHandler
InternalIOReactorExceptionHandler(final Log log)
From source file:org.apache.http.impl.nio.client.AbstractHttpAsyncClient.java
protected AbstractHttpAsyncClient(final IOReactorConfig config) throws IOReactorException { super();/*from w ww . ja v a 2 s. co m*/ final DefaultConnectingIOReactor defaultioreactor = new DefaultConnectingIOReactor(config); defaultioreactor.setExceptionHandler(new InternalIOReactorExceptionHandler(this.log)); this.connmgr = new PoolingClientAsyncConnectionManager(defaultioreactor); this.queue = new ConcurrentLinkedQueue<HttpAsyncRequestExecutionHandler<?>>(); }