Uses of Interface
org.apache.http.concurrent.Cancellable
Packages that use Cancellable
Package
Description
Core concurrency APIs.
Client side connection pools APIs for asynchronous, event driven
communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Uses of Cancellable in org.apache.http.concurrent
Classes in org.apache.http.concurrent that implement CancellableModifier and TypeClassDescriptionclass
BasicFuture<T>
Basic implementation of theFuture
interface. -
Uses of Cancellable in org.apache.http.nio.pool
Classes in org.apache.http.nio.pool that implement CancellableModifier and TypeClassDescription(package private) class
LeaseRequest<T,
C, E extends PoolEntry<T, C>> -
Uses of Cancellable in org.apache.http.nio.protocol
Subinterfaces of Cancellable in org.apache.http.nio.protocolModifier and TypeInterfaceDescriptioninterface
HttpAsyncClientExchangeHandler
represents a callback interface whose methods get invoked when executing one or multiple HTTP message exchanges on the client side.interface
Deprecated.interface
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 CancellableModifier and TypeClassDescriptionclass
AbstractHttpAsyncResponseConsumer
implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.class
Basic implementation ofHttpAsyncClientExchangeHandler
that executes a single HTTP request / response exchange.class
Deprecated.(4.3) useBasicAsyncClientExchangeHandler
.class
Basic implementation ofHttpAsyncResponseConsumer
.class
Pipelining implementation ofHttpAsyncClientExchangeHandler
that executes a series of pipelined HTTP requests.Fields in org.apache.http.nio.protocol declared as CancellableMethods in org.apache.http.nio.protocol that return CancellableMethods in org.apache.http.nio.protocol with parameters of type CancellableModifier and TypeMethodDescriptionprotected void
HttpAsyncService.handleAlreadySubmittedResponse
(Cancellable cancellable, HttpContext context) This method can be used to handle callback set up happened after response submission.void
HttpAsyncExchange.setCallback
(Cancellable cancellable) SetsCancellable
callback to be invoked in case the underlying connection times out or gets terminated prematurely by the client.void
HttpAsyncService.HttpAsyncExchangeImpl.setCallback
(Cancellable cancellable) void
HttpAsyncService.State.setCancellable
(Cancellable cancellable)
HttpAsyncClientExchangeHandler