Interface AtomProxyConfig

  • All Known Implementing Classes:
    SimpleAtomProxyConfig

    public interface AtomProxyConfig
    Atom proxy configuration information which may be of use to a developer. This is a wrapper for internal Atom properties and gets implemented in relevant context .
    • Method Detail

      • isProxyEnabled

        boolean isProxyEnabled()
        Indicates if a proxy has been configured for this container
        Returns:
        true if a proxy is configured, false otherwise
      • isAuthenticationEnabled

        boolean isAuthenticationEnabled()
        Indicates if authentication is required for this proxy.
        Returns:
        true if the user name is not "blank", false otherwise
      • getProxyHost

        String getProxyHost()
        Getter for the configured proxy host
        Returns:
        the proxy host
      • getProxyPort

        String getProxyPort()
        Getter for the configured proxy port
        Returns:
        the proxy port
      • getProxyUser

        String getProxyUser()
        Getter for the configured proxy user
        Returns:
        the proxy user
      • getProxyPassword

        String getProxyPassword()
        Getter for the configured proxy password. The returned password will be decrypted.
        Returns:
        the proxy password
      • getNonProxyHostsString

        String getNonProxyHostsString()
        Getter for the "raw" string value of the non-proxy hosts config.
        Returns:
        the non proxy host string
      • getNonProxyHosts

        Iterable<String> getNonProxyHosts()
        Getter for the non-proxy hosts. This method assumes the configured value is '|' delimited.
        Returns:
        the non-proxy hosts if the config value is not "blank", empty iterable otherwise