Runnable
, ClientExecutionAbortTask
public class ClientExecutionAbortTaskImpl extends Object implements ClientExecutionAbortTask
ClientExecutionAbortTask
that interrupts the caller thread and aborts
any HTTP request when triggeredConstructor | 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)
ClientExecutionAbortTask
setCurrentHttpRequest
in interface ClientExecutionAbortTask
public boolean hasClientExecutionAborted()
hasClientExecutionAborted
in interface ClientExecutionAbortTask
public boolean isEnabled()
isEnabled
in interface ClientExecutionAbortTask
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.