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 |
---|---|
void |
cancel()
Cancels this task.
|
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
public void cancel()
cancel
in interface ClientExecutionAbortTask
Copyright © 2024. All rights reserved.