Class Proxy

All Implemented Interfaces:
Serializable, Cloneable

public class Proxy extends IdentifiableBase implements Serializable, Cloneable
The <proxy> element contains informations required to a proxy settings.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • Proxy

      public Proxy()
  • Method Details

    • clone

      public Proxy clone()
      Method clone.
      Overrides:
      clone in class IdentifiableBase
      Returns:
      Proxy
    • getHost

      public String getHost()
      Get the proxy host.
      Returns:
      String
    • getNonProxyHosts

      public String getNonProxyHosts()
      Get the list of non-proxied hosts (delimited by |).
      Returns:
      String
    • getPassword

      public String getPassword()
      Get the proxy password.
      Returns:
      String
    • getPort

      public int getPort()
      Get the proxy port.
      Returns:
      int
    • getProtocol

      public String getProtocol()
      Get the proxy protocol.
      Returns:
      String
    • getUsername

      public String getUsername()
      Get the proxy user.
      Returns:
      String
    • isActive

      public boolean isActive()
      Get whether this proxy configuration is the active one.
      Returns:
      boolean
    • setActive

      public void setActive(boolean active)
      Set whether this proxy configuration is the active one.
      Parameters:
      active - a active object.
    • setHost

      public void setHost(String host)
      Set the proxy host.
      Parameters:
      host - a host object.
    • setNonProxyHosts

      public void setNonProxyHosts(String nonProxyHosts)
      Set the list of non-proxied hosts (delimited by |).
      Parameters:
      nonProxyHosts - a nonProxyHosts object.
    • setPassword

      public void setPassword(String password)
      Set the proxy password.
      Parameters:
      password - a password object.
    • setPort

      public void setPort(int port)
      Set the proxy port.
      Parameters:
      port - a port object.
    • setProtocol

      public void setProtocol(String protocol)
      Set the proxy protocol.
      Parameters:
      protocol - a protocol object.
    • setUsername

      public void setUsername(String username)
      Set the proxy user.
      Parameters:
      username - a username object.