|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Cancellable | |
|---|---|
| org.apache.http.concurrent | Common concurrency components. |
| org.apache.http.nio.protocol | Asynchronous HTTP protocol handlers based on the non-blocking I/O model. |
| Uses of Cancellable in org.apache.http.concurrent |
|---|
| Classes in org.apache.http.concurrent that implement Cancellable | |
|---|---|
class |
BasicFuture<T>
Basic implementation of the Future interface. |
| Uses of Cancellable in org.apache.http.nio.protocol |
|---|
| Subinterfaces of Cancellable in org.apache.http.nio.protocol | |
|---|---|
interface |
HttpAsyncRequestExecutionHandler<T>
HttpAsyncRequestExecutionHandler represents a callback interface that combines functionality of HttpAsyncRequestProducer and
HttpAsyncResponseConsumer and is capable of handling logically
related series of HTTP request / response exchanges. |
interface |
HttpAsyncResponseConsumer<T>
HttpAsyncResponseConsumer is a callback interface whose methods get invoked to process an HTTP response message and to stream message content from a non-blocking HTTP connection on the client side. |
| Classes in org.apache.http.nio.protocol that implement Cancellable | |
|---|---|
class |
AbstractAsyncResponseConsumer<T>
Abstract HttpAsyncResponseConsumer implementation that relieves its
subclasses form having to synchronize access to internal instance variables
and provides a number of protected methods that they need to implement. |
class |
BasicAsyncRequestExecutionHandler<T>
Basic implementation of HttpAsyncRequestExecutionHandler that executes
a single HTTP request / response exchange. |
class |
BasicAsyncResponseConsumer
Basic implementation of HttpAsyncResponseConsumer. |
| Methods in org.apache.http.nio.protocol with parameters of type Cancellable | |
|---|---|
void |
HttpAsyncExchange.setCallback(Cancellable cancellable)
Sets Cancellable callback to be invoked in case the underlying
connection times out or gets terminated prematurely by the client. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||