Interface ClientExecutionAbortTask

All Superinterfaces:
Runnable
All Known Implementing Classes:
ClientExecutionAbortTaskImpl

public interface ClientExecutionAbortTask extends Runnable
Task to be scheduled by ClientExecutionTimer
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from interface java.lang.Runnable

    run
  • 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 -
    • hasClientExecutionAborted

      boolean hasClientExecutionAborted()
      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 client execution timeout is disabled for this request