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