|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.message.AbstractHttpMessage org.apache.http.client.methods.AbstractExecutionAwareRequest
public abstract class AbstractExecutionAwareRequest
Field Summary |
---|
Fields inherited from class org.apache.http.message.AbstractHttpMessage |
---|
headergroup, params |
Constructor Summary | |
---|---|
protected |
AbstractExecutionAwareRequest()
|
Method Summary | |
---|---|
void |
abort()
Aborts this http request. |
Object |
clone()
|
void |
completed()
|
boolean |
isAborted()
|
void |
reset()
Resets internal state of the request making it reusable. |
void |
setCancellable(org.apache.http.concurrent.Cancellable cancellable)
Sets Cancellable for the ongoing operation. |
void |
setConnectionRequest(ClientConnectionRequest connRequest)
Deprecated. Use setCancellable(Cancellable) |
void |
setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
Deprecated. Use setCancellable(Cancellable) |
Methods inherited from class org.apache.http.message.AbstractHttpMessage |
---|
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.http.HttpRequest |
---|
getRequestLine |
Methods inherited from interface org.apache.http.HttpMessage |
---|
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams |
Constructor Detail |
---|
protected AbstractExecutionAwareRequest()
Method Detail |
---|
@Deprecated public void setConnectionRequest(ClientConnectionRequest connRequest)
setCancellable(Cancellable)
AbortableHttpRequest
ClientConnectionRequest
callback that can be used to abort a long-lived request for a connection.
If the request is already aborted, throws an IOException
.
setConnectionRequest
in interface AbortableHttpRequest
ClientConnectionManager
@Deprecated public void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
setCancellable(Cancellable)
AbortableHttpRequest
ConnectionReleaseTrigger
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
in interface AbortableHttpRequest
public void abort()
AbortableHttpRequest
abort
in interface AbortableHttpRequest
HttpClient.execute(HttpUriRequest)
,
HttpClient.execute(org.apache.http.HttpHost,
org.apache.http.HttpRequest)
,
HttpClient.execute(HttpUriRequest,
org.apache.http.protocol.HttpContext)
,
HttpClient.execute(org.apache.http.HttpHost,
org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)
public boolean isAborted()
isAborted
in interface HttpExecutionAware
public void setCancellable(org.apache.http.concurrent.Cancellable cancellable)
HttpExecutionAware
Cancellable
for the ongoing operation.
setCancellable
in interface HttpExecutionAware
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void completed()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |