@Contract(threading=STATELESS) @Internal public final class ConnectExec extends Object implements ExecChainHandler
Constructor and Description |
---|
ConnectExec(ConnectionReuseStrategy reuseStrategy,
HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy) |
Modifier and Type | Method and Description |
---|---|
ClassicHttpResponse |
execute(ClassicHttpRequest request,
ExecChain.Scope scope,
ExecChain chain)
Executes the actual HTTP request.
|
public ConnectExec(ConnectionReuseStrategy reuseStrategy, HttpProcessor proxyHttpProcessor, AuthenticationStrategy proxyAuthStrategy)
public ClassicHttpResponse execute(ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) throws IOException, HttpException
ExecChainHandler
execute
in interface ExecChainHandler
request
- the actual request.scope
- the execution scope .chain
- the next element in the request execution chain.IOException
HttpException