com.dropbox.client2.session
Class Session.ProxyInfo

java.lang.Object
  extended by com.dropbox.client2.session.Session.ProxyInfo
Enclosing interface:
Session

public static final class Session.ProxyInfo
extends java.lang.Object

Describes a proxy.


Field Summary
 java.lang.String host
          The address of the proxy.
 int port
          The port of the proxy, or -1 to use the default port.
 
Constructor Summary
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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

public final java.lang.String host
The address of the proxy.


port

public final int port
The port of the proxy, or -1 to use the default port.

Constructor Detail

Session.ProxyInfo

public Session.ProxyInfo(java.lang.String host,
                         int port)
Creates a proxy info.

Parameters:
host - the host to use without a protocol (required).
port - the port to use, or -1 for default port.

Session.ProxyInfo

public Session.ProxyInfo(java.lang.String host)
Creates a proxy info using the default port.

Parameters:
host - the host to use without a protocol (required).