Class ProxyProperties


  • public class ProxyProperties
    extends Object
    This class is a DTO which contains proxy properties for HTTP or HTTPS
    • Constructor Detail

      • ProxyProperties

        public ProxyProperties()
    • Method Detail

      • getHost

        public String getHost()
        Returns the proxy host to use
        Returns:
        the proxy host
      • setHost

        public void setHost​(String host)
        Set the proxy host
        Parameters:
        host - the host to use
      • getPort

        public int getPort()
        Returns the port to use
        Returns:
        the proxy port
      • setPort

        public void setPort​(int port)
        Set the proxy port
        Parameters:
        port - the port to use
      • getUser

        public String getUser()
        Returns the user to use
        Returns:
        the proxy user
      • setUser

        public void setUser​(String user)
        Set the proxy user
        Parameters:
        user - the user to use
      • getPassword

        public String getPassword()
        Returns the password to use
        Returns:
        the proxy password
      • setPassword

        public void setPassword​(String password)
        Set the proxy password
        Parameters:
        password - the password to use
      • getExcludedHosts

        public String getExcludedHosts()
        Returns the excluded hosts (can be seperated by ',', ';' or ' ')
        Returns:
        the excluded hosts
      • setExcludedHosts

        public void setExcludedHosts​(String excludedHosts)
        Set the excluded hosts (can be seperated by ',', ';' or ' ')
        Parameters:
        excludedHosts - the excluded hosts (can be seperated by ',', ';' or ' ')