|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
HttpExecutionAware
@Deprecated public interface AbortableHttpRequest
Interface representing an HTTP request that can be aborted by shutting down the underlying HTTP connection.
| Method Summary | |
|---|---|
void |
abort()
Deprecated. Aborts this http request. |
void |
setConnectionRequest(ClientConnectionRequest connRequest)
Deprecated. Sets the ClientConnectionRequest
callback that can be used to abort a long-lived request for a connection. |
void |
setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
Deprecated. Sets the ConnectionReleaseTrigger callback that can
be used to abort an active connection. |
| Method Detail |
|---|
void setConnectionRequest(ClientConnectionRequest connRequest)
throws IOException
ClientConnectionRequest
callback that can be used to abort a long-lived request for a connection.
If the request is already aborted, throws an IOException.
IOExceptionClientConnectionManager
void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
throws IOException
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.
IOExceptionvoid abort()
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||