Package coursier.proxy
Class SetupProxy
java.lang.Object
coursier.proxy.SetupProxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetProxyProperties(String addressValue, String usernameValue, String passwordValue, String nonProxyHostsValue) static voidsetProxyProperties(String protocolValue, String hostValue, String portValue, String usernameValue, String passwordValue, String nonProxyHostsValue, String propertyPrefix) static booleansetup()static booleanstatic booleansetupAuthenticator(String httpProtocol, String httpHost, String httpPort, String httpUser, String httpPassword, String httpsProtocol, String httpsHost, String httpsPort, String httpsUser, String httpsPassword, String extraHttpProtocol, String extraHttpHost, String extraHttpPort, String extraHttpUser, String extraHttpPassword) static voidstatic voidsetupPropertiesFrom(File m2Settings, String propertyPrefix) static void
-
Constructor Details
-
SetupProxy
public SetupProxy()
-
-
Method Details
-
setupTunnelingProp
public static void setupTunnelingProp() -
setProxyProperties
public static void setProxyProperties(String addressValue, String usernameValue, String passwordValue, String nonProxyHostsValue) throws URISyntaxException - Throws:
URISyntaxException
-
setProxyProperties
-
setupPropertiesFrom
public static void setupPropertiesFrom(File m2Settings, String propertyPrefix) throws ParserConfigurationException, SAXException, IOException -
setupProperties
-
setupAuthenticator
public static boolean setupAuthenticator(String httpProtocol, String httpHost, String httpPort, String httpUser, String httpPassword, String httpsProtocol, String httpsHost, String httpsPort, String httpsUser, String httpsPassword, String extraHttpProtocol, String extraHttpHost, String extraHttpPort, String extraHttpUser, String extraHttpPassword) -
setupAuthenticator
public static boolean setupAuthenticator() -
setup
-