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.IOExceptionClientConnectionManagervoid 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)Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.