@Internal
public interface ExecRuntime
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 context) |
void |
connect(HttpClientContext context) |
void |
discardConnection() |
void |
disconnect() |
org.apache.hc.core5.http.ClassicHttpResponse |
execute(org.apache.hc.core5.http.ClassicHttpRequest request,
HttpClientContext context) |
ExecRuntime |
fork(org.apache.hc.core5.concurrent.CancellableDependency cancellableAware) |
boolean |
isConnected() |
boolean |
isConnectionAcquired() |
boolean |
isConnectionReusable() |
boolean |
isExecutionAborted() |
void |
markConnectionNonReusable() |
void |
markConnectionReusable() |
void |
releaseConnection() |
void |
setConnectionState(Object state) |
void |
setConnectionValidFor(org.apache.hc.core5.util.TimeValue duration) |
void |
upgradeTls(HttpClientContext context) |
boolean isExecutionAborted()
boolean isConnectionAcquired()
void acquireConnection(HttpRoute route, Object state, HttpClientContext context) throws IOException
IOExceptionvoid releaseConnection()
void discardConnection()
boolean isConnected()
void disconnect()
throws IOException
IOExceptionvoid connect(HttpClientContext context) throws IOException
IOExceptionvoid upgradeTls(HttpClientContext context) throws IOException
IOExceptionorg.apache.hc.core5.http.ClassicHttpResponse execute(org.apache.hc.core5.http.ClassicHttpRequest request,
HttpClientContext context)
throws IOException,
org.apache.hc.core5.http.HttpException
IOExceptionorg.apache.hc.core5.http.HttpExceptionboolean isConnectionReusable()
void markConnectionReusable()
void markConnectionNonReusable()
void setConnectionState(Object state)
void setConnectionValidFor(org.apache.hc.core5.util.TimeValue duration)
ExecRuntime fork(org.apache.hc.core5.concurrent.CancellableDependency cancellableAware)
Copyright © 1999–2018 The Apache Software Foundation. All rights reserved.