public interface TCPProxySSLSocketFactory extends TCPProxySocketFactory
| Modifier and Type | Method and Description |
|---|---|
Socket |
createClientSocket(Socket existingSocket,
EndPoint remoteEndPoint)
Factory method for client sockets that are layered over existing
sockets.
|
createClientSocket, createServerSocketSocket createClientSocket(Socket existingSocket, EndPoint remoteEndPoint) throws IOException
Factory method for client sockets that are layered over existing sockets.
The SSL socket takes ownership of the existing socket; when the SSL socket is closed, the existing socket will also be closed.
existingSocket - The existing socket.remoteEndPoint - Remote host and port. Not the proxy. As far as I
can gather, the JSSE does not use this information.Socket.IOException - If an error occurs.Copyright © 2000-2014. All Rights Reserved.