Uses of Interface
org.apache.http.concurrent.Cancellable
-
Packages that use Cancellable Package Description org.apache.http.concurrent Core concurrency APIs.org.apache.http.nio.protocol 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 Cancellable Modifier and Type Class Description classBasicFuture<T>Basic implementation of theFutureinterface. -
Uses of Cancellable in org.apache.http.nio.protocol
Subinterfaces of Cancellable in org.apache.http.nio.protocol Modifier and Type Interface Description interfaceHttpAsyncClientExchangeHandlerHttpAsyncClientExchangeHandlerrepresents a callback interface whose methods get invoked when executing one or multiple HTTP message exchanges on the client side.interfaceHttpAsyncRequestExecutionHandler<T>Deprecated.interfaceHttpAsyncResponseConsumer<T>HttpAsyncResponseConsumeris 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 Modifier and Type Class Description classAbstractAsyncResponseConsumer<T>AbstractHttpAsyncResponseConsumerimplementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.classBasicAsyncClientExchangeHandler<T>Basic implementation ofHttpAsyncClientExchangeHandlerthat executes a single HTTP request / response exchange.classBasicAsyncRequestExecutionHandler<T>Deprecated.(4.3) useBasicAsyncClientExchangeHandler.classBasicAsyncResponseConsumerBasic implementation ofHttpAsyncResponseConsumer.classPipeliningClientExchangeHandler<T>Pipelining implementation ofHttpAsyncClientExchangeHandlerthat executes a series of pipelined HTTP requests.Methods in org.apache.http.nio.protocol with parameters of type Cancellable Modifier and Type Method Description protected voidHttpAsyncService. handleAlreadySubmittedResponse(Cancellable cancellable, HttpContext context)This method can be used to handle callback set up happened after response submission.voidHttpAsyncExchange. setCallback(Cancellable cancellable)SetsCancellablecallback to be invoked in case the underlying connection times out or gets terminated prematurely by the client.
-