Class InoProxyConfig

java.lang.Object
de.mid.innovator.net.InoProxyConfig

public class InoProxyConfig extends Object
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 Details

    • useProxy

      public boolean useProxy()
    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • getLoadError

      public String getLoadError()
    • getAuthentication

      public InoAuth getAuthentication()
    • logConfiguration

      public void logConfiguration(BiConsumer<String,String> logger)
    • getInstance

      public static InoProxyConfig getInstance()