Package org.apache.http.client.methods
Interface HttpExecutionAware
- All Known Implementing Classes:
AbstractExecutionAwareRequest,HttpDelete,HttpEntityEnclosingRequestBase,HttpGet,HttpHead,HttpOptions,HttpPatch,HttpPost,HttpPut,HttpRequestBase,HttpTrace,RequestBuilder.InternalEntityEclosingRequest,RequestBuilder.InternalRequest
public interface HttpExecutionAware
Interface to be implemented by any object that wishes to be notified of
blocking I/O operations that could be cancelled.
- Since:
- 4.3
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCancellable(org.apache.http.concurrent.Cancellable cancellable) SetsCancellablefor the ongoing operation.
-
Method Details
-
isAborted
boolean isAborted() -
setCancellable
void setCancellable(org.apache.http.concurrent.Cancellable cancellable) SetsCancellablefor the ongoing operation.
-