|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsocks.Proxy
socks.Socks4Proxy
public class Socks4Proxy
Proxy which describes SOCKS4 proxy.
Field Summary |
---|
Constructor Summary | |
---|---|
Socks4Proxy(java.net.InetAddress proxyIP,
int proxyPort,
java.lang.String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(Proxy p,
java.net.InetAddress proxyIP,
int proxyPort,
java.lang.String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(Proxy p,
java.lang.String proxyHost,
int proxyPort,
java.lang.String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(java.lang.String proxyHost,
int proxyPort,
java.lang.String user)
Creates the SOCKS4 proxy |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a clone of this proxy. |
Methods inherited from class socks.Proxy |
---|
addDirect, addDirect, addDirect, getChainProxy, getDefaultProxy, getDirect, getInetAddress, getPort, isDirect, isDirect, parseProxy, setChainProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDirect, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Socks4Proxy(Proxy p, java.lang.String proxyHost, int proxyPort, java.lang.String user) throws java.net.UnknownHostException
p
- Proxy to use to connect to this proxy, allows proxy chaining.proxyHost
- Address of the proxy server.proxyPort
- Port of the proxy serveruser
- User name to use for identification purposes.
java.net.UnknownHostException
- If proxyHost can't be resolved.public Socks4Proxy(java.lang.String proxyHost, int proxyPort, java.lang.String user) throws java.net.UnknownHostException
proxyHost
- Address of the proxy server.proxyPort
- Port of the proxy serveruser
- User name to use for identification purposes.
java.net.UnknownHostException
- If proxyHost can't be resolved.public Socks4Proxy(Proxy p, java.net.InetAddress proxyIP, int proxyPort, java.lang.String user)
p
- Proxy to use to connect to this proxy, allows proxy chaining.proxyIP
- Address of the proxy server.proxyPort
- Port of the proxy serveruser
- User name to use for identification purposes.public Socks4Proxy(java.net.InetAddress proxyIP, int proxyPort, java.lang.String user)
proxyIP
- Address of the proxy server.proxyPort
- Port of the proxy serveruser
- User name to use for identification purposes.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |