org.apache.http.conn.scheme.LayeredSocketFactory |
Known Indirect Subclasses
|
Class Overview
A SocketFactory
for layered sockets (SSL/TLS).
See there for things to consider when implementing a socket factory.
Summary
Public Methods |
abstract
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.
|
Public Methods
public
abstract
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 |