List of usage examples for org.apache.http.impl.nio.client InternalState InternalState
public InternalState(final long id, final HttpAsyncRequestProducer requestProducer, final HttpAsyncResponseConsumer<?> responseConsumer, final HttpClientContext localContext)
From source file:org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.java
public DefaultClientExchangeHandlerImpl(final Log log, final HttpAsyncRequestProducer requestProducer, final HttpAsyncResponseConsumer<T> responseConsumer, final HttpClientContext localContext, final BasicFuture<T> resultFuture, final NHttpClientConnectionManager connmgr, final ConnectionReuseStrategy connReuseStrategy, final ConnectionKeepAliveStrategy keepaliveStrategy, final InternalClientExec exec) { super(log, localContext, resultFuture, connmgr, connReuseStrategy, keepaliveStrategy); this.requestProducer = requestProducer; this.responseConsumer = responseConsumer; this.resultFuture = resultFuture; this.exec = exec; this.state = new InternalState(getId(), requestProducer, responseConsumer, localContext); }