Uses of Class
org.mockserver.model.Delay
-
Packages that use Delay Package Description org.mockserver.client org.mockserver.configuration org.mockserver.model org.mockserver.scheduler org.mockserver.serialization.java org.mockserver.serialization.model -
-
Uses of Delay in org.mockserver.client
Methods in org.mockserver.client that return Delay Modifier and Type Method Description static DelayLlm. timeToFirstToken(long value, TimeUnit timeUnit)Creates a Delay representing the time to first token.Methods in org.mockserver.client with parameters of type Delay Modifier and Type Method Description Expectation[]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 matchedExpectation[]ForwardChainExpectation. forward(ExpectationForwardCallback expectationForwardCallback, Delay delay)Call method on object locally or remotely (over web socket) to generate request to forward when expectation is matchedExpectation[]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 -
Uses of Delay in org.mockserver.configuration
Methods in org.mockserver.configuration that return Delay Modifier and Type Method Description DelayConfiguration. connectionDelay()Methods in org.mockserver.configuration with parameters of type Delay Modifier and Type Method Description ConfigurationConfiguration. connectionDelay(Delay connectionDelay) -
Uses of Delay in org.mockserver.model
Methods in org.mockserver.model that return Delay Modifier and Type Method Description static DelayDelay. delay(TimeUnit timeUnit, long value)static DelayDelay. gaussian(TimeUnit timeUnit, long mean, long stdDev)DelayConnectionOptions. getChunkDelay()DelayConnectionOptions. getCloseSocketDelay()DelayAction. getDelay()DelayAfterAction. getDelay()DelayGrpcStreamMessage. getDelay()DelaySseEvent. getDelay()DelayWebSocketMessage. getDelay()DelayStreamingPhysics. getTimeToFirstToken()static DelayDelay. logNormal(TimeUnit timeUnit, long median, long p99)static DelayDelay. milliseconds(long value)static DelayDelay. minutes(long value)static DelayDelay. seconds(long value)static DelayDelay. uniform(TimeUnit timeUnit, long min, long max)Methods in org.mockserver.model with parameters of type Delay Modifier and Type Method Description ConnectionOptionsConnectionOptions. withChunkDelay(Delay chunkDelay)Specifies the delay between sending each chunk of a chunked response.ConnectionOptionsConnectionOptions. withCloseSocketDelay(Delay closeSocketDelay)Override how long to delay before closing socket, this value is ignored if socket isn't going to be closedTAction. withDelay(Delay delay)The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)AfterActionAfterAction. withDelay(Delay delay)GrpcStreamMessageGrpcStreamMessage. withDelay(Delay delay)SseEventSseEvent. withDelay(Delay delay)WebSocketMessageWebSocketMessage. withDelay(Delay delay)GrpcStreamResponseGrpcStreamResponse. withMessage(String json, Delay delay)StreamingPhysicsStreamingPhysics. withTimeToFirstToken(Delay timeToFirstToken) -
Uses of Delay in org.mockserver.scheduler
Methods in org.mockserver.scheduler with parameters of type Delay Modifier and Type Method Description voidScheduler. schedule(Runnable command, boolean synchronous, Delay... delays)voidScheduler. submitAsync(Runnable command, Delay... delays) -
Uses of Delay in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type Delay Modifier and Type Method Description StringDelayToJavaSerializer. serialize(int numberOfSpacesToIndent, Delay delay) -
Uses of Delay in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return Delay Modifier and Type Method Description DelayDelayDTO. buildObject()Constructors in org.mockserver.serialization.model with parameters of type Delay Constructor Description DelayDTO(Delay delay)
-