package com.groupbyinc.api;

import com.groupbyinc.api.config.ConnectionConfiguration;

/**
 * @internal
 */
public class Bridge extends AbstractBridge {

  public Bridge(String clientKey, String bridgeHost, int bridgePort) {
    this(clientKey, bridgeHost, bridgePort, false);
  }

  public Bridge(String clientKey, String bridgeHost, int bridgePort, boolean secure) {
    this(clientKey, bridgeHost, bridgePort, secure, new ConnectionConfiguration());
  }

  public Bridge(String clientKey, String bridgeHost, int bridgePort, boolean secure, ConnectionConfiguration configuration) {
    this(clientKey, (secure ? HTTPS : HTTP) + bridgeHost + COLON + bridgePort, configuration);
  }

  protected Bridge(String clientKey, String baseUrl, ConnectionConfiguration configuration) {
    super(clientKey, baseUrl, configuration);
  }
}

@@ -678,16 +678,137 @@
 );%0A  %7D%0A%0A
+  protected Bridge(String clientKey, String baseUrl) %7B%0A    this(clientKey, baseUrl, new ConnectionConfiguration());%0A  %7D%0A%0A
   protec

fix constructor