java.lang.ObjectThis class represents a proxy setting, typically a type (http, socks) and a socket address. Ajava.net.Proxy
Proxy is an immutable object.Yingxian - WangJean-Christophe - Collet1.5 - | Nested Class Summary: | ||
|---|---|---|
| public enum class | Proxy.Type | Represents the proxy type. |
| Field Summary | ||
|---|---|---|
| public static final Proxy | NO_PROXY | A proxy setting that represents a DIRECT connection,
basically telling the protocol handler not to use any proxying.
Used, for instance, to create sockets bypassing any other global
proxy settings (like SOCKS):
|
| Constructor: |
|---|
Use the
|
| Method from java.net.Proxy Summary: |
|---|
| address, equals, hashCode, toString, type |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.net.Proxy Detail: |
|---|
null if its a direct connection. |
true if and only if the argument is
not null and it represents the same proxy as
this object.
Two instances of |
|
DIRECT. |
|