Package de.mid.innovator.net
Class InoProxyConfig
java.lang.Object
de.mid.innovator.net.InoProxyConfig
This class has one instance which gives you information whether a proxy is
used and what the address and port of the proxy server is and what the
authentication the proxy has. It manages the reading of this information from
environment variables and configuration files.
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()static InoProxyConfigintgetPort()voidlogConfiguration(BiConsumer<String, String> logger) booleanuseProxy()
-
Method Details
-
useProxy
public boolean useProxy() -
getHost
-
getPort
public int getPort() -
getLoadError
-
getAuthentication
-
logConfiguration
-
getInstance
-