ebgeo.maprequest
Class ProxyConfig

java.lang.Object
  extended byebgeo.maprequest.ProxyConfig
All Implemented Interfaces:
Cloneable

public class ProxyConfig
extends Object
implements Cloneable

A class storing configuration information for an HTTP Proxy.


Constructor Summary
ProxyConfig()
          Creates a new instance of ProxyConfig
 
Method Summary
 Object clone()
           
 String getProxyHost()
          Getter for property proxyHost.
 String getProxyPassword()
          Getter for property proxyPassword.
 int getProxyPort()
          Getter for property proxyPort.
 String getProxyUser()
          Get the user name to supply if the proxy requires authentication.
 boolean isProxyAuth()
          Check if the proxy requires authentication.
 boolean isProxyUsed()
          Getter for property proxyUsed.
 void setProxyAuth(boolean proxyAuth)
          Setter for property proxyAuth.
 void setProxyHost(String proxyHost)
          Setter for property proxyHost.
 void setProxyPassword(String proxyPassword)
          Setter for property proxyPassword.
 void setProxyPort(int proxyPort)
          Setter for property proxyPort.
 void setProxyUsed(boolean proxyUsed)
          Setter for property proxyUsed.
 void setProxyUser(String proxyUser)
          Setter for property proxyUser.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConfig

public ProxyConfig()
Creates a new instance of ProxyConfig

Method Detail

clone

public Object clone()

isProxyUsed

public boolean isProxyUsed()
Getter for property proxyUsed.

Returns:
Value of property proxyUsed.

setProxyUsed

public void setProxyUsed(boolean proxyUsed)
Setter for property proxyUsed.

Parameters:
proxyUsed - New value of property proxyUsed.

getProxyHost

public String getProxyHost()
Getter for property proxyHost.

Returns:
Value of property proxyHost.

setProxyHost

public void setProxyHost(String proxyHost)
Setter for property proxyHost.

Parameters:
proxyHost - New value of property proxyHost.

getProxyPort

public int getProxyPort()
Getter for property proxyPort.

Returns:
Value of property proxyPort.

setProxyPort

public void setProxyPort(int proxyPort)
Setter for property proxyPort.

Parameters:
proxyPort - New value of property proxyPort.

isProxyAuth

public boolean isProxyAuth()
Check if the proxy requires authentication.

Returns:
Returns true if the proxy requires authentication, or false if not.

setProxyAuth

public void setProxyAuth(boolean proxyAuth)
Setter for property proxyAuth.

Parameters:
proxyAuth - New value of property proxyAuth.

getProxyUser

public String getProxyUser()
Get the user name to supply if the proxy requires authentication.

Returns:
Returns the user name to use.
See Also:
isProxyAuth()

setProxyUser

public void setProxyUser(String proxyUser)
Setter for property proxyUser.

Parameters:
proxyUser - New value of property proxyUser.

getProxyPassword

public String getProxyPassword()
Getter for property proxyPassword.

Returns:
Value of property proxyPassword.

setProxyPassword

public void setProxyPassword(String proxyPassword)
Setter for property proxyPassword.

Parameters:
proxyPassword - New value of property proxyPassword.