public class HttpRequestAbortTaskImpl extends java.lang.Object implements HttpRequestAbortTask
HttpRequestAbortTask
that aborts the tracking HttpRequestBase
when triggeredModifier and Type | Field and Description |
---|---|
private org.apache.http.client.methods.HttpRequestBase |
httpRequest |
private boolean |
httpRequestAborted |
Constructor and Description |
---|
HttpRequestAbortTaskImpl(org.apache.http.client.methods.HttpRequestBase httpRequest) |
Modifier and Type | Method and Description |
---|---|
boolean |
httpRequestAborted() |
boolean |
isEnabled() |
void |
run() |
private final org.apache.http.client.methods.HttpRequestBase httpRequest
private volatile boolean httpRequestAborted
public HttpRequestAbortTaskImpl(org.apache.http.client.methods.HttpRequestBase httpRequest)
public void run()
run
in interface java.lang.Runnable
public boolean httpRequestAborted()
httpRequestAborted
in interface HttpRequestAbortTask
public boolean isEnabled()
isEnabled
in interface HttpRequestAbortTask