Class SimpleAtomProxyConfig

    • Constructor Detail

      • SimpleAtomProxyConfig

        public SimpleAtomProxyConfig()
      • SimpleAtomProxyConfig

        public SimpleAtomProxyConfig​(String proxyHost)
      • SimpleAtomProxyConfig

        public SimpleAtomProxyConfig​(String proxyHost,
                                     String proxyPort)
    • Method Detail

      • withProxyUser

        public SimpleAtomProxyConfig withProxyUser​(String proxyUser)
        Setter for configured proxy user
        Parameters:
        proxyUser - Atom proxy user configuration value
        Returns:
        this
      • withNonProxyHosts

        public SimpleAtomProxyConfig withNonProxyHosts​(String nonProxyHosts)
        Setter for configured non-proxy hosts
        Parameters:
        nonProxyHosts - Atom non-proxy hosts configuration value
        Returns:
        this
      • withProxyPassword

        public SimpleAtomProxyConfig withProxyPassword​(String proxyPassword)
        Setter for configured proxy password
        Parameters:
        proxyPassword - Atom proxy password configuration value
        Returns:
        this
      • isProxyEnabled

        public boolean isProxyEnabled()
        Description copied from interface: AtomProxyConfig
        Indicates if a proxy has been configured for this container
        Specified by:
        isProxyEnabled in interface AtomProxyConfig
        Returns:
        true if a proxy is configured, false otherwise
      • isAuthenticationEnabled

        public boolean isAuthenticationEnabled()
        Description copied from interface: AtomProxyConfig
        Indicates if authentication is required for this proxy.
        Specified by:
        isAuthenticationEnabled in interface AtomProxyConfig
        Returns:
        true if the user name is not "blank", false otherwise
      • getProxyPassword

        public String getProxyPassword()
        Description copied from interface: AtomProxyConfig
        Getter for the configured proxy password. The returned password will be decrypted.
        Specified by:
        getProxyPassword in interface AtomProxyConfig
        Returns:
        the proxy password
      • getNonProxyHosts

        public Iterable<String> getNonProxyHosts()
        Description copied from interface: AtomProxyConfig
        Getter for the non-proxy hosts. This method assumes the configured value is '|' delimited.
        Specified by:
        getNonProxyHosts in interface AtomProxyConfig
        Returns:
        the non-proxy hosts if the config value is not "blank", empty iterable otherwise