org.apache.http.conn.scheme.LayeredSocketFactory
A SocketFactory for layered sockets (SSL/TLS).
See there for things to consider when implementing a socket factory.
Known Indirect Subclasses
Summary
Details
Public Methods
public
Socket
createSocket(Socket socket, String host, int port, boolean autoClose)
Returns a socket connected to the given host that is layered over an
existing socket. Used primarily for creating secure sockets through
proxies.
Parameters
socket
| the existing socket |
host
| the host name/IP |
port
| the port on the host |
autoClose
| a flag for closing the underling socket when the created
socket is closed |