Wait@Deprecated
public class Wait
extends java.lang.Object
WaitStrategy instances.| Constructor and Description |
|---|
Wait()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static WaitStrategy |
defaultWaitStrategy()
Deprecated.
Convenience method to return the default WaitStrategy.
|
static HttpWaitStrategy |
forHttp(java.lang.String path)
Deprecated.
Convenience method to return a WaitStrategy for an HTTP endpoint.
|
static HttpWaitStrategy |
forHttps(java.lang.String path)
Deprecated.
Convenience method to return a WaitStrategy for an HTTPS endpoint.
|
static HostPortWaitStrategy |
forListeningPort()
Deprecated.
Convenience method to return a WaitStrategy for an exposed or mapped port.
|
static LogMessageWaitStrategy |
forLogMessage(java.lang.String regex,
int times)
Deprecated.
Convenience method to return a WaitStrategy for log messages.
|
public static WaitStrategy defaultWaitStrategy()
public static HostPortWaitStrategy forListeningPort()
HostPortWaitStrategypublic static HttpWaitStrategy forHttp(java.lang.String path)
path - the path to checkHttpWaitStrategypublic static HttpWaitStrategy forHttps(java.lang.String path)
path - the path to checkHttpWaitStrategypublic static LogMessageWaitStrategy forLogMessage(java.lang.String regex, int times)
regex - the regex pattern to check fortimes - the number of times the pattern is expected