Interface ClientExecutionAbortTrackerTask

All Known Implementing Classes:
ClientExecutionAbortTrackerTaskImpl, NoOpClientExecutionAbortTrackerTask

public interface ClientExecutionAbortTrackerTask
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    boolean
     
    void
    setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
    Client execution timer task needs to abort the current running HTTP request when executed.
  • Method Details

    • setCurrentHttpRequest

      void setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
      Client execution timer task needs to abort the current running HTTP request when executed.
      Parameters:
      newRequest -
    • hasTimeoutExpired

      boolean hasTimeoutExpired()
      Returns:
      True if client execution has been aborted by the timer task. False otherwise
    • isEnabled

      boolean isEnabled()
      Returns:
      True if the timer task has been scheduled. False if the client execution timeout is disabled for this request
    • cancelTask

      void cancelTask()