public interface ProxyData
HTTPProxyData| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
openConnection(java.lang.String hostname,
int port,
int connectTimeout)
Connects the socket to the given destination using the proxy method that this instance
represents.
|
java.net.Socket openConnection(java.lang.String hostname,
int port,
int connectTimeout)
throws java.io.IOException
hostname - hostname of end host (not proxy)port - port of end host (not proxy)connectTimeout - number of seconds before giving up on connecting to end hostjava.io.IOException - if the connection could not be completed