Once the endpoint is no longer needed it MUST be released with releaseAndReuse()
or releaseAndDiscard().
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)
Initiates a message exchange using the given handler. |
| public void | execute(final AsyncClientExchangeHandler exchangeHandler, final HttpContext context)
Initiates a message exchange using the given handler. |
| public final <T> Future | execute(final AsyncRequestProducer requestProducer, final AsyncResponseConsumer<T> responseConsumer, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final HttpContext context, final FutureCallback<T> callback)
Initiates message exchange using the given request producer and response consumer. |
| public final <T> Future | execute(final AsyncRequestProducer requestProducer, final AsyncResponseConsumer<T> responseConsumer, final HttpContext context, final FutureCallback<T> callback)
Initiates message exchange using the given request producer and response consumer. |
| public final <T> Future | execute(final AsyncRequestProducer requestProducer, final AsyncResponseConsumer<T> responseConsumer, final FutureCallback<T> callback)
Initiates a message exchange using the given request producer and response consumer. |
| public abstract boolean | |
| public abstract void | |
| public abstract void |
| AsyncClientEndpoint | back to summary |
|---|---|
| public AsyncClientEndpoint() | |
| execute | back to summary |
|---|---|
| public abstract void execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context) Initiates a message exchange using the given handler.
Once the endpoint is no longer needed it MUST be released with | |
| execute | back to summary |
|---|---|
| public void execute(final AsyncClientExchangeHandler exchangeHandler, final HttpContext context) Initiates a message exchange using the given handler.
Once the endpoint is no longer needed it MUST be released with | |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
Once the endpoint is no longer needed it MUST be released with | |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates message exchange using the given request producer and response consumer.
Once the endpoint is no longer needed it MUST be released with | |
| execute | back to summary |
|---|---|
| public final <T> Future Initiates a message exchange using the given request producer and response consumer.
Once the endpoint is no longer needed it MUST be released with | |
| isConnected | back to summary |
|---|---|
| public abstract boolean isConnected() Determines if the connection to the remote endpoint is still open and valid. | |
| releaseAndDiscard | back to summary |
|---|---|
| public abstract void releaseAndDiscard() Shuts down the underlying connection and removes it from the connection pool. | |
| releaseAndReuse | back to summary |
|---|---|
| public abstract void releaseAndReuse() Releases the underlying connection back to the connection pool as re-usable. | |