Class HttpProxy.CreateTunnelPromise

java.lang.Object
org.eclipse.jetty.client.HttpProxy.CreateTunnelPromise
All Implemented Interfaces:
Promise<Connection>
Enclosing class:
HttpProxy

private static class HttpProxy.CreateTunnelPromise extends Object implements Promise<Connection>

Creates a tunnel using HTTP CONNECT.

It is implemented as a promise because it needs to establish the tunnel after the TCP connection is succeeded, and needs to notify the nested promise when the tunnel is established (or failed).