public class NginxContainer<SELF extends NginxContainer<SELF>>
extends org.testcontainers.containers.GenericContainer<SELF>
implements org.testcontainers.containers.traits.LinkableContainer
| Constructor and Description |
|---|
NginxContainer()
Deprecated.
use
NginxContainer(DockerImageName) instead |
NginxContainer(org.testcontainers.utility.DockerImageName dockerImageName) |
NginxContainer(java.lang.String dockerImageName) |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getBaseUrl(java.lang.String scheme,
int port) |
protected @NotNull java.util.Set<java.lang.Integer> |
getLivenessCheckPorts()
Deprecated.
use
GenericContainer.getLivenessCheckPortNumbers() instead |
void |
setCustomContent(java.lang.String htmlContentPath)
Deprecated.
|
SELF |
withCustomContent(java.lang.String htmlContentPath)
Deprecated.
|
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, configure, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerNameaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunning@Deprecated public NginxContainer()
NginxContainer(DockerImageName) insteadpublic NginxContainer(java.lang.String dockerImageName)
public NginxContainer(org.testcontainers.utility.DockerImageName dockerImageName)
@NotNull @Deprecated protected @NotNull java.util.Set<java.lang.Integer> getLivenessCheckPorts()
GenericContainer.getLivenessCheckPortNumbers() insteadgetLivenessCheckPorts in class org.testcontainers.containers.GenericContainer<SELF extends NginxContainer<SELF>>public java.net.URL getBaseUrl(java.lang.String scheme,
int port)
throws java.net.MalformedURLException
java.net.MalformedURLException@Deprecated public void setCustomContent(java.lang.String htmlContentPath)
@Deprecated public SELF withCustomContent(java.lang.String htmlContentPath)