| Package | Description |
|---|---|
| org.mockserver.client | |
| org.mockserver.model | |
| org.mockserver.scheduler | |
| org.mockserver.serialization.java | |
| org.mockserver.serialization.model |
| Modifier and Type | Method and Description |
|---|---|
void |
ForwardChainExpectation.forward(ExpectationForwardCallback expectationForwardCallback,
Delay delay)
Call method on object locally or remotely (over web socket)
to generate request to forward when expectation is matched
|
void |
ForwardChainExpectation.forward(ExpectationForwardCallback expectationForwardCallback,
ExpectationForwardAndResponseCallback expectationForwardResponseCallback,
Delay delay)
Call method on object locally or remotely (over web socket)
to generate request to forward when expectation is matched
|
void |
ForwardChainExpectation.respond(ExpectationResponseCallback expectationResponseCallback,
Delay delay)
Call method on object locally or remotely (over web socket)
to generate response to return when expectation is matched
|
| Modifier and Type | Method and Description |
|---|---|
static Delay |
Delay.delay(TimeUnit timeUnit,
long value) |
Delay |
ConnectionOptions.getCloseSocketDelay() |
Delay |
Action.getDelay() |
static Delay |
Delay.milliseconds(long value) |
static Delay |
Delay.minutes(long value) |
static Delay |
Delay.seconds(long value) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionOptions |
ConnectionOptions.withCloseSocketDelay(Delay closeSocketDelay)
Override how long to delay before closing socket, this value is ignored if socket isn't going to be closed
|
T |
Action.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
| Modifier and Type | Method and Description |
|---|---|
void |
Scheduler.schedule(Runnable command,
boolean synchronous,
Delay... delays) |
| Modifier and Type | Method and Description |
|---|---|
String |
DelayToJavaSerializer.serialize(int numberOfSpacesToIndent,
Delay delay) |
| Modifier and Type | Method and Description |
|---|---|
Delay |
DelayDTO.buildObject() |
| Constructor and Description |
|---|
DelayDTO(Delay delay) |
Copyright © 2020. All rights reserved.