Args.notNull(responseConsumer, "HTTP response consumer");
Args.notNull(connPool, "HTTP connection pool");
Args.notNull(poolEntry, "Pool entry");
Args.notNull(context, "HTTP context");
final BasicFuture<T> future = new BasicFuture<T>(callback);
final NHttpClientConnection conn = poolEntry.getConnection();
final BasicAsyncClientExchangeHandler<T> handler = new BasicAsyncClientExchangeHandler<T>(
requestProducer, responseConsumer,
new RequestExecutionCallback<T, E>(future, poolEntry, connPool),
context, conn,
this.httppocessor, this.connReuseStrategy);