| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | close()
Implements java. |
| public abstract void | execute(String
unique operation ID or id, AsyncClientExchangeHandler null.the message exchange handler. exchangeHandler, HandlerFactory<AsyncPushConsumer> the push handler factory. pushHandlerFactory, HttpContext the execution context. context)Initiates a message exchange using the given handler. |
| public void | execute(final String
unique operation ID or id, final AsyncClientExchangeHandler null.the message exchange handler. exchangeHandler, final HttpContext the execution context. context)Initiates a message exchange using the given handler. |
| public final < the result representation. T> Future | Returns: the result future.unique operation ID or id, final AsyncRequestProducer null.the request producer. requestProducer, final AsyncResponseConsumer<T> the response consumer. responseConsumer, final HandlerFactory<AsyncPushConsumer> the push handler factory. pushHandlerFactory, final HttpContext the execution context. context, final FutureCallback<T> the result callback. callback)Initiates message exchange using the given request producer and response consumer. |
| public final < the result representation. T> Future | Returns: the result future.unique operation ID or id, final AsyncRequestProducer null.the request producer. requestProducer, final AsyncResponseConsumer<T> the response consumer. responseConsumer, final HttpContext the execution context. context, final FutureCallback<T> the result callback. callback)Initiates message exchange using the given request producer and response consumer. |
| public final < the result representation. T> Future | Returns: the result future.unique operation ID or id, final AsyncRequestProducer null.the request producer. requestProducer, final AsyncResponseConsumer<T> the response consumer. responseConsumer, final HandlerFactory<AsyncPushConsumer> the push handler factory. pushHandlerFactory, final FutureCallback<T> the result callback. callback)Initiates message exchange using the given request producer and response consumer. |
| public final < the result representation. T> Future | Returns: the result future.unique operation ID or id, final AsyncRequestProducer null.the request producer. requestProducer, final AsyncResponseConsumer<T> the response consumer. responseConsumer, final FutureCallback<T> the result callback. callback)Initiates message exchange using the given request producer and response consumer. |
| public abstract boolean | |
| public abstract void |
| AsyncConnectionEndpoint | back to summary |
|---|---|
| public AsyncConnectionEndpoint() | |
| close | back to summary |
|---|---|
| public final void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| execute | back to summary |
|---|---|
| public abstract void execute(String id, AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context) Initiates a message exchange using the given handler.
| |
| execute | back to summary |
|---|---|
| public void execute(final String id, final AsyncClientExchangeHandler exchangeHandler, final HttpContext context) Initiates a message exchange using the given handler.
| |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
| |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
| |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
| |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
| |
| isConnected | back to summary |
|---|---|
| public abstract boolean isConnected() Determines if the connection to the remote endpoint is still open and valid. | |
| setSocketTimeout | back to summary |
|---|---|
| public abstract void setSocketTimeout(Timeout timeout) Sets socket timeout.
| |