public class ClientExecutionAbortTaskImpl extends Object implements ClientExecutionAbortTask
ClientExecutionAbortTask that interrupts the caller thread and aborts
any HTTP request when triggered| Constructor and Description |
|---|
ClientExecutionAbortTaskImpl(Thread thread) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasClientExecutionAborted() |
boolean |
isEnabled() |
void |
run() |
void |
setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
Client Execution timer task needs to abort the current running HTTP request when executed.
|
public ClientExecutionAbortTaskImpl(Thread thread)
public void setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
ClientExecutionAbortTasksetCurrentHttpRequest in interface ClientExecutionAbortTaskpublic boolean hasClientExecutionAborted()
hasClientExecutionAborted in interface ClientExecutionAbortTaskpublic boolean isEnabled()
isEnabled in interface ClientExecutionAbortTaskCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.