public static final class Session.ProxyInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
host
The address of the proxy.
|
int |
port
The port of the proxy, or -1 to use the default port.
|
| Constructor and Description |
|---|
Session.ProxyInfo(java.lang.String host)
Creates a proxy info using the default port.
|
Session.ProxyInfo(java.lang.String host,
int port)
Creates a proxy info.
|
public final java.lang.String host
public final int port
public Session.ProxyInfo(java.lang.String host,
int port)
host - the host to use without a protocol (required).port - the port to use, or -1 for default port.public Session.ProxyInfo(java.lang.String host)
host - the host to use without a protocol (required).