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 Type
    Method
    Description
    boolean
     
    void
    setCancellable(org.apache.http.concurrent.Cancellable cancellable)
    Sets Cancellable for the ongoing operation.
  • Method Details

    • isAborted

      boolean isAborted()
    • setCancellable

      void setCancellable(org.apache.http.concurrent.Cancellable cancellable)
      Sets Cancellable for the ongoing operation.