Class Proxy

  • All Implemented Interfaces:
    java.io.Serializable

    public class Proxy
    extends IdentifiableBase
    implements java.io.Serializable
    The <proxy> element contains informations required to a proxy settings.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Proxy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHost()
      Get the proxy host.
      java.lang.String getNonProxyHosts()
      Get the list of non-proxied hosts (delimited by |).
      java.lang.String getPassword()
      Get the proxy password.
      int getPort()
      Get the proxy port.
      java.lang.String getProtocol()
      Get the proxy protocol.
      java.lang.String getUsername()
      Get the proxy user.
      boolean isActive()
      Get whether this proxy configuration is the active one.
      void setActive​(boolean active)
      Set whether this proxy configuration is the active one.
      void setHost​(java.lang.String host)
      Set the proxy host.
      void setNonProxyHosts​(java.lang.String nonProxyHosts)
      Set the list of non-proxied hosts (delimited by |).
      void setPassword​(java.lang.String password)
      Set the proxy password.
      void setPort​(int port)
      Set the proxy port.
      void setProtocol​(java.lang.String protocol)
      Set the proxy protocol.
      void setUsername​(java.lang.String username)
      Set the proxy user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Proxy

        public Proxy()
    • Method Detail

      • getHost

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

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

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

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

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

        public java.lang.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​(java.lang.String host)
        Set the proxy host.
        Parameters:
        host - a host object.
      • setNonProxyHosts

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

        public void setPassword​(java.lang.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​(java.lang.String protocol)
        Set the proxy protocol.
        Parameters:
        protocol - a protocol object.
      • setUsername

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