@Contract(threading=STATELESS) @Internal public final class AsyncConnectExec extends Object implements AsyncExecChainHandler
Constructor and Description |
---|
AsyncConnectExec(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecChain chain,
AsyncExecCallback asyncExecCallback)
Executes the actual HTTP request.
|
public AsyncConnectExec(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy proxyAuthStrategy, SchemePortResolver schemePortResolver, boolean authCachingDisabled)
public void execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) throws org.apache.hc.core5.http.HttpException, IOException
AsyncExecChainHandler
execute
in interface AsyncExecChainHandler
request
- the actual request.entityProducer
- the request entity producer or null
if the request
does not enclose an entity.scope
- the execution scope .chain
- the next element in the request execution chain.asyncExecCallback
- the execution callback.org.apache.hc.core5.http.HttpException
- If a protocol error occurs.IOException
- If an I/O error occurs.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.