HttpWaitStrategy class final

Waits for an HTTP answer: made by Wait.forHttp(path).

Wait.forHttp('/realms/neon').forPort(8080).forStatusCode(200)
Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

forPort(int port) → HttpWaitStrategy
Requests the container's port instead of its first published port.
forStatusCode(int status) → HttpWaitStrategy
Accepts status as ready; call it again to accept more. Without any, 200 is the expected status.
forStatusCodeMatching(bool matches(int status)) → HttpWaitStrategy
Accepts every status matches says yes to ((s) => s < 500).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
usingMethod(String method) → HttpWaitStrategy
Sends method (HEAD, POST...) instead of GET.
usingTls() → HttpWaitStrategy
Requests over https; the container's certificate is not checked.
waitUntilReady(WaitTarget target) → Future<void>
Returns when target is ready, within WaitTarget.remaining.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited