Example usage for org.apache.http.impl.nio.client InternalIOReactorExceptionHandler InternalIOReactorExceptionHandler

List of usage examples for org.apache.http.impl.nio.client InternalIOReactorExceptionHandler InternalIOReactorExceptionHandler

Introduction

In this page you can find the example usage for org.apache.http.impl.nio.client InternalIOReactorExceptionHandler InternalIOReactorExceptionHandler.

Prototype

InternalIOReactorExceptionHandler(final Log log) 

Source Link

Usage

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<?>>();
}