|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpClientSocketFactory
Abstraction for objects which provide/configure sockets used by HttpClientConnection instances.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Socket createSocket(String host, int port) throws IOException
IOException
Socket createTunnelSocket(Socket s) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |