Package sonia.scm.net
Class Proxies
java.lang.Object
sonia.scm.net.Proxies
Util class for proxy settings.
- Since:
- 1.23
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isEnabled
(ScmConfiguration configuration, String url) Returns true if proxy settings should be used to access the given url.static boolean
isEnabled
(ScmConfiguration configuration, URL url) Returns true if proxy settings should be used to access the given url.
-
Method Details
-
isEnabled
Returns true if proxy settings should be used to access the given url.- Parameters:
configuration
- scm-manager main configurationurl
- url to check- Returns:
- true if proxy settings should be used
-
isEnabled
Returns true if proxy settings should be used to access the given url.- Parameters:
configuration
- scm-manager main configurationurl
- url to check- Returns:
- true if proxy settings should be used
-