Package | Description |
---|---|
org.mockserver.client.serialization.java | |
org.mockserver.client.serialization.model | |
org.mockserver.model | |
org.mockserver.scheduler |
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) |
Modifier and Type | Method and Description |
---|---|
static Delay |
Delay.delay(TimeUnit timeUnit,
long value) |
Delay |
HttpTemplate.getDelay() |
Delay |
HttpError.getDelay() |
Delay |
HttpOverrideForwardedRequest.getDelay() |
Delay |
HttpResponse.getDelay() |
Delay |
HttpForward.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 |
---|---|
HttpTemplate |
HttpTemplate.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpError |
HttpError.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpResponse |
HttpResponse.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpForward |
HttpForward.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,
Delay delay) |
void |
Scheduler.schedule(Runnable command,
Delay delay,
boolean synchronous) |
Copyright © 2018. All rights reserved.