public abstract class AbstractExecutionAwareRequest extends org.apache.hc.core5.http.message.AbstractHttpMessage implements HttpExecutionAware, org.apache.hc.core5.http.HttpRequest
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExecutionAwareRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
completed() |
boolean |
isAborted() |
void |
reset()
Resets internal state of the request making it reusable.
|
void |
setCancellable(org.apache.hc.core5.concurrent.Cancellable cancellable)
Sets
Cancellable for the ongoing operation. |
addHeader, getEntity, setEntity, setHeaderaddHeader, clear, containsHeader, containsHeaders, getAllHeaders, getCondensedHeader, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeaders, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void abort()
public boolean isAborted()
isAborted in interface HttpExecutionAwarepublic void setCancellable(org.apache.hc.core5.concurrent.Cancellable cancellable)
HttpExecutionAwareCancellable for the ongoing operation.setCancellable in interface HttpExecutionAwarepublic void completed()
public void reset()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.