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