Package com.helger.httpclient
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:
trueif a proxy host is defined,falseotherwise
-
getProxyHost
@Nullable org.apache.hc.core5.http.HttpHost getProxyHost()- Returns:
- The proxy host to be used. May be
null.
-
hasProxyCredentials
default boolean hasProxyCredentials()- Returns:
trueif proxy credentials are present,falseif not.
-
getProxyCredentials
@Nullable org.apache.hc.client5.http.auth.Credentials getProxyCredentials()- Returns:
- The proxy server credentials to be used. May be
null.
-
nonProxyHosts
- Returns:
- The mutable original set of all host names and IP addresses for which no proxy should
be used. Never
nulland 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.
-