public abstract class AbstractExecutionAwareRequest extends AbstractHttpMessage implements HttpExecutionAware, AbortableHttpRequest, java.lang.Cloneable, HttpRequest
headergroup, params| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractExecutionAwareRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abort()
Aborts this http request.
|
java.lang.Object |
clone() |
void |
completed() |
boolean |
isAborted() |
void |
reset()
Resets internal state of the request making it reusable.
|
void |
setCancellable(Cancellable cancellable)
Sets
Cancellable for the ongoing operation. |
void |
setConnectionRequest(ClientConnectionRequest connRequest)
已过时。
|
void |
setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
已过时。
|
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestLineaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams@Deprecated public void setConnectionRequest(ClientConnectionRequest connRequest)
AbortableHttpRequestClientConnectionRequest
callback that can be used to abort a long-lived request for a connection.
If the request is already aborted, throws an IOException.setConnectionRequest 在接口中 AbortableHttpRequestClientConnectionManager@Deprecated public void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
AbortableHttpRequestConnectionReleaseTrigger callback that can
be used to abort an active connection.
Typically, this will be the
ManagedClientConnection itself.
If the request is already aborted, throws an IOException.setReleaseTrigger 在接口中 AbortableHttpRequestpublic void abort()
AbortableHttpRequestabort 在接口中 AbortableHttpRequestHttpClient.execute(HttpUriRequest),
HttpClient.execute(depends.org.apache.http.HttpHost,
depends.org.apache.http.HttpRequest),
HttpClient.execute(HttpUriRequest,
depends.org.apache.http.protocol.HttpContext),
HttpClient.execute(depends.org.apache.http.HttpHost,
depends.org.apache.http.HttpRequest, depends.org.apache.http.protocol.HttpContext)public boolean isAborted()
isAborted 在接口中 HttpExecutionAwarepublic void setCancellable(Cancellable cancellable)
HttpExecutionAwareCancellable for the ongoing operation.setCancellable 在接口中 HttpExecutionAwarepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在类中 java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void completed()
public void reset()