Package org.apache.http.client.methods
Interface HttpExecutionAware
- All Known Implementing Classes:
AbstractExecutionAwareRequest
,HttpDelete
,HttpEntityEnclosingRequestBase
,HttpGet
,HttpHead
,HttpOptions
,HttpPatch
,HttpPost
,HttpPut
,HttpRequestBase
,HttpTrace
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 TypeMethodDescriptionboolean
void
setCancellable
(org.apache.http.concurrent.Cancellable cancellable) SetsCancellable
for the ongoing operation.
-
Method Details
-
isAborted
boolean isAborted() -
setCancellable
void setCancellable(org.apache.http.concurrent.Cancellable cancellable) SetsCancellable
for the ongoing operation.
-