Package org.testcontainers.containers
Class ToxiproxyContainer.ContainerProxy
java.lang.Object
org.testcontainers.containers.ToxiproxyContainer.ContainerProxy
- Enclosing class:
- ToxiproxyContainer
Deprecated.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContainerProxy(eu.rekawek.toxiproxy.Proxy toxi, String containerIpAddress, int proxyPort, int originalProxyPort) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getName()Deprecated.intDeprecated.intDeprecated.voidsetConnectionCut(boolean shouldCutConnection) Deprecated.Cuts the connection by setting bandwidth in both directions to zero.eu.rekawek.toxiproxy.model.ToxicListtoxics()Deprecated.
-
Constructor Details
-
ContainerProxy
protected ContainerProxy(eu.rekawek.toxiproxy.Proxy toxi, String containerIpAddress, int proxyPort, int originalProxyPort) Deprecated.
-
-
Method Details
-
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
Deprecated. -
getProxyPort
public int getProxyPort()Deprecated. -
getOriginalProxyPort
public int getOriginalProxyPort()Deprecated.
-