Interface IHttpProxySettings

All Known Implementing Classes:
HttpProxySettings

public interface IHttpProxySettings
Read-only interface for HttpProxySettings
Since:
10.5.0
Author:
Philip Helger
  • Method Details

    • hasProxyHost

      default boolean hasProxyHost()
      Returns:
      true if a proxy host is defined, false otherwise
    • getProxyHost

      @Nullable org.apache.hc.core5.http.HttpHost getProxyHost()
      Returns:
      The proxy host to be used. May be null.
    • hasProxyCredentials

      default boolean hasProxyCredentials()
      Returns:
      true if proxy credentials are present, false if not.
    • getProxyCredentials

      @Nullable org.apache.hc.client5.http.auth.Credentials getProxyCredentials()
      Returns:
      The proxy server credentials to be used. May be null.
    • nonProxyHosts

      @Nonnull @ReturnsMutableObject com.helger.collection.commons.ICommonsSet<String> nonProxyHosts()
      Returns:
      The mutable original set of all host names and IP addresses for which no proxy should be used. Never null and mutable.
    • getAllNonProxyHosts

      @Nonnull @ReturnsMutableCopy default com.helger.collection.commons.ICommonsSet<String> getAllNonProxyHosts()
      Returns:
      A mutable copy of the set of all host names and IP addresses for which no proxy should be used. Never null.