Indicates that a tunnel has been established. The route is the one previously passed to {@link #open open}. Subsequently, {@link #layerProtocol layerProtocol} can be calledto layer the TLS/SSL protocol on top of the tunnelled connection. Note: In HttpClient 3, a call to the corresponding method would automatically trigger the layering of the TLS/SSL protocol. This is not the case anymore, you can establish a tunnel without layering a new protocol over the connection.
@param secure true if the tunnel should be consideredsecure, false otherwise
@param params the parameters for tunnelling this connection
@throws IOException in case of a problem
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.