Deprecated
(4.3) use org.
SchemeSocketFactory interface for layered sockets such as SSL/TLS.
| Modifier and Type | Method and Description |
|---|---|
| public Socket | Returns: Socket a new socketthe existing socket socket, String the name of the target host. target, int the port to connect to on the target host port, HttpParams HTTP parameters params)
Deprecated
as a consequence of
Returns a socket connected to the given host that is layered over an
existing socket.
HttpParams being deprecated.
|
| createLayeredSocket | back to summary |
|---|---|
| public Socket createLayeredSocket(Socket socket, String target, int port, HttpParams params) throws IOException, UnknownHostException
Deprecated as a consequence of Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.
| |