@Contract(threading=SAFE) public abstract class AsyncConnectionEndpoint extends Object implements Closeable
| Constructor and Description |
|---|
AsyncConnectionEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler,
org.apache.hc.core5.http.protocol.HttpContext context) |
<T> Future<T> |
execute(org.apache.hc.core5.http.nio.AsyncRequestProducer requestProducer,
org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> responseConsumer,
org.apache.hc.core5.concurrent.FutureCallback<T> callback) |
<T> Future<T> |
execute(org.apache.hc.core5.http.nio.AsyncRequestProducer requestProducer,
org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> responseConsumer,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.FutureCallback<T> callback) |
abstract boolean |
isConnected() |
abstract void |
setSocketTimeout(int timeout) |
abstract void |
shutdown() |
public abstract void execute(org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler,
org.apache.hc.core5.http.protocol.HttpContext context)
public <T> Future<T> execute(org.apache.hc.core5.http.nio.AsyncRequestProducer requestProducer, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> responseConsumer, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<T> callback)
public <T> Future<T> execute(org.apache.hc.core5.http.nio.AsyncRequestProducer requestProducer, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> responseConsumer, org.apache.hc.core5.concurrent.FutureCallback<T> callback)
public abstract boolean isConnected()
public abstract void setSocketTimeout(int timeout)
public abstract void shutdown()
throws IOException
IOExceptionCopyright © 1999–2018 The Apache Software Foundation. All rights reserved.