public class NginxContainer<SELF extends NginxContainer<SELF>>
extends org.testcontainers.containers.GenericContainer<SELF>
implements org.testcontainers.containers.traits.LinkableContainer
| Constructor and Description |
|---|
NginxContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
java.net.URL |
getBaseUrl(java.lang.String scheme,
int port) |
protected @NotNull java.util.Set<java.lang.Integer> |
getLivenessCheckPorts() |
void |
setCustomContent(java.lang.String htmlContentPath) |
SELF |
withCustomContent(java.lang.String htmlContentPath) |
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, canEqual, close, containerIsStarted, containerIsStarting, copyFileFromContainer, copyFileToContainer, createVolumeDirectory, equals, execInContainer, execInContainer, fetchDockerDaemonInfo, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCreateContainerCmdModifiers, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isPrivilegedMode, logger, setBinds, setCommand, setCommand, setCommandParts, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setStartupAttempts, setStartupCheckStrategy, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, toString, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectoryapply, failed, succeededclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerName@NotNull protected @NotNull java.util.Set<java.lang.Integer> getLivenessCheckPorts()
getLivenessCheckPorts in class org.testcontainers.containers.GenericContainer<SELF extends NginxContainer<SELF>>protected void configure()
configure 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.MalformedURLExceptionpublic void setCustomContent(java.lang.String htmlContentPath)
public SELF withCustomContent(java.lang.String htmlContentPath)