Class ToxiproxyContainer.ContainerProxy

java.lang.Object
org.testcontainers.containers.ToxiproxyContainer.ContainerProxy
Enclosing class:
ToxiproxyContainer

@Deprecated public static class ToxiproxyContainer.ContainerProxy extends Object
Deprecated.
  • Constructor Details

    • ContainerProxy

      protected ContainerProxy(eu.rekawek.toxiproxy.Proxy toxi, String containerIpAddress, int proxyPort, int originalProxyPort)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
    • toxics

      public eu.rekawek.toxiproxy.model.ToxicList toxics()
      Deprecated.
    • setConnectionCut

      public void setConnectionCut(boolean shouldCutConnection)
      Deprecated.
      Cuts the connection by setting bandwidth in both directions to zero.
      Parameters:
      shouldCutConnection - true if the connection should be cut, or false if it should be re-enabled
    • getContainerIpAddress

      public String getContainerIpAddress()
      Deprecated.
    • getProxyPort

      public int getProxyPort()
      Deprecated.
    • getOriginalProxyPort

      public int getOriginalProxyPort()
      Deprecated.