| Modifier and Type | Field and Description |
|---|---|
| private final AuthCacheKeeper | |
| private final HttpAuthenticator | |
| private static final Logger | |
| private final AuthenticationStrategy | |
| private final HttpProcessor | |
| private final ConnectionReuseStrategy | |
| private final HttpRouteDirector |
| Access | Constructor and Description |
|---|---|
| public | ConnectExec(final ConnectionReuseStrategy reuseStrategy, final HttpProcessor proxyHttpProcessor, final AuthenticationStrategy proxyAuthStrategy, final SchemePortResolver schemePortResolver, final boolean authCachingDisabled)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | createTunnelToProxy(final HttpRoute route, final int hop, final HttpClientContext context)
Creates a tunnel to an intermediate proxy. |
| private boolean | createTunnelToTarget(final String exchangeId, final HttpRoute route, final HttpRequest request, final ExecRuntime execRuntime, final HttpClientContext context)
Creates a tunnel to the target server. |
| public ClassicHttpResponse | execute(final ClassicHttpRequest
the actual request. request, final ExecChain.the execution scope . scope,the next element in the request execution chain. chain)Implements org. |
| authCacheKeeper | back to summary |
|---|---|
| private final AuthCacheKeeper authCacheKeeper | |
| authenticator | back to summary |
|---|---|
| private final HttpAuthenticator authenticator | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| proxyAuthStrategy | back to summary |
|---|---|
| private final AuthenticationStrategy proxyAuthStrategy | |
| proxyHttpProcessor | back to summary |
|---|---|
| private final HttpProcessor proxyHttpProcessor | |
| reuseStrategy | back to summary |
|---|---|
| private final ConnectionReuseStrategy reuseStrategy | |
| routeDirector | back to summary |
|---|---|
| private final HttpRouteDirector routeDirector | |
| ConnectExec | back to summary |
|---|---|
| public ConnectExec(final ConnectionReuseStrategy reuseStrategy, final HttpProcessor proxyHttpProcessor, final AuthenticationStrategy proxyAuthStrategy, final SchemePortResolver schemePortResolver, final boolean authCachingDisabled) | |
| createTunnelToProxy | back to summary |
|---|---|
| private boolean createTunnelToProxy(final HttpRoute route, final int hop, final HttpClientContext context) throws HttpException Creates a tunnel to an intermediate proxy. This method is not implemented in this class. It just throws an exception here. | |
| createTunnelToTarget | back to summary |
|---|---|
| private boolean createTunnelToTarget(final String exchangeId, final HttpRoute route, final HttpRequest request, final ExecRuntime execRuntime, final HttpClientContext context) throws HttpException, IOException Creates a tunnel to the target server. The connection must be established to the (last) proxy. A CONNECT request for tunnelling through the proxy will be created and sent, the response received and checked. This method does not processChallenge the connection with information about the tunnel, that is left to the caller. | |
| execute | back to summary |
|---|---|
| public ClassicHttpResponse execute(final ClassicHttpRequest request, final ExecChain. Implements org. Doc from org. Executes the actual HTTP request. The handler can choose to return a response message or delegate request execution to the next element in the execution chain.
| |