com.teamdev.jxbrowser.proxy
Class ProxyServer

java.lang.Object
  extended by com.teamdev.jxbrowser.proxy.ProxyServer

public class ProxyServer
extends java.lang.Object

Represents a proxy server object.


Constructor Summary
ProxyServer(java.lang.String host, int port)
          Constructs a new ProxyServer instance.
ProxyServer(java.lang.String host, int port, java.lang.String userName, java.lang.String password)
          Constructs a new ProxyServer instance.
 
Method Summary
 java.lang.String getHost()
          Returns the proxy server host.
 java.lang.String getPassword()
          Returns the password.
 int getPort()
          Returns the port address.
 java.lang.String getUserName()
          Returns the use name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyServer

public ProxyServer(java.lang.String host,
                   int port)
Constructs a new ProxyServer instance.

Parameters:
host - the host name or IP address
port - the port address

ProxyServer

public ProxyServer(java.lang.String host,
                   int port,
                   java.lang.String userName,
                   java.lang.String password)
Constructs a new ProxyServer instance.

Parameters:
host - the host name or IP address
port - the port address
userName - the user name
password - the password
Method Detail

getHost

public java.lang.String getHost()
Returns the proxy server host.

Returns:
the proxy server host.

getPort

public int getPort()
Returns the port address.

Returns:
the port address.

getUserName

public java.lang.String getUserName()
Returns the use name.

Returns:
the user name.

getPassword

public java.lang.String getPassword()
Returns the password.

Returns:
the password.