public interface HttpClientSocketFactory
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(String host,
int port)
Creates client socket connected to the given host and port.
|
Socket |
createTunnelSocket(Socket s)
Creates layered socket on top of given base socket, for use when
tunneling HTTP messages through a proxy.
|
Socket createSocket(String host, int port) throws IOException
IOExceptionSocket createTunnelSocket(Socket s) throws IOException
IOExceptionCopyright © 2016–2018. All rights reserved.