HttpExecutionAware
@Deprecated public interface AbortableHttpRequest
Modifier and Type | Method and Description |
---|---|
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. |
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
.IOException
ClientConnectionManager
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
.IOException
void 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)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses