Package com.amazonaws.http.timers.client
Interface ClientExecutionAbortTask
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ClientExecutionAbortTaskImpl
Task to be scheduled by
ClientExecutionTimer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
-
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
-