Package alpine.common.util
Class ProxyUtil
java.lang.Object
alpine.common.util.ProxyUtil
Utility class for working with HTTP proxies.
- Since:
- 2.3.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyConfigAttempt to use application specific proxy settings if they exist.
-
Method Details
-
getProxyConfig
Attempt to use application specific proxy settings if they exist. Otherwise, attempt to use environment variables if they exist.Ported from Dependency-Track's
ManagedHttpClientFactory.- Returns:
- A
ProxyConfigobject, ornullif no proxy is configured - See Also:
-