Class ProxyConfigurationConverter

java.lang.Object
de.gematik.test.tiger.proxy.configuration.ProxyConfigurationConverter

public class ProxyConfigurationConverter extends Object
  • Method Details

    • convertForwardProxyConfigurationToMockServerConfiguration

      public static Optional<ProxyConfiguration> convertForwardProxyConfigurationToMockServerConfiguration(de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration tpConfig)
    • toMockServerType

      public static ProxyConfiguration.Type toMockServerType(de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyType type) throws de.gematik.test.tiger.common.exceptions.TigerUnknownProtocolException
      Throws:
      de.gematik.test.tiger.common.exceptions.TigerUnknownProtocolException
    • createMockServerProxyConfiguration

      public static Optional<ProxyConfiguration> createMockServerProxyConfiguration(de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo)
    • useProxyWithSystemProperties

      public static Optional<ProxyConfiguration> useProxyWithSystemProperties(String proxyProtocol, de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo)
    • useProxyAsEnvVar

      public static Optional<ProxyConfiguration> useProxyAsEnvVar(de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo, String envProxyType)
    • convertSystemProxyConfig

      public static Optional<ProxyConfiguration> convertSystemProxyConfig(de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo)