@Internal
public interface AsyncExecRuntime
This interface is considered internal and generally ought not be used or accessed by custom request exec handlers.
| Modifier and Type | Method and Description |
|---|---|
void |
acquireConnection(HttpRoute route,
Object state,
HttpClientContext clientContext,
org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) |
void |
connect(HttpClientContext clientContext,
org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) |
void |
discardConnection() |
void |
execute(org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler,
HttpClientContext context)
Initiates a message exchange using the given handler.
|
boolean |
isConnected() |
boolean |
isConnectionAcquired() |
void |
markConnectionNonReusable() |
void |
markConnectionReusable(Object state,
org.apache.hc.core5.util.TimeValue duration) |
void |
releaseConnection() |
void |
upgradeTls(HttpClientContext context) |
boolean |
validateConnection() |
boolean isConnectionAcquired()
void acquireConnection(HttpRoute route, Object state, HttpClientContext clientContext, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
void releaseConnection()
void discardConnection()
boolean validateConnection()
boolean isConnected()
void connect(HttpClientContext clientContext, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
void upgradeTls(HttpClientContext context)
void execute(org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler,
HttpClientContext context)
void markConnectionReusable(Object state, org.apache.hc.core5.util.TimeValue duration)
void markConnectionNonReusable()
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.