Package org.mockserver.mock.action.http
package org.mockserver.mock.action.http
-
ClassDescriptionInstalled after a WebSocket handshake when the HttpWebSocketResponse has matchers.Callback interface for sending response frames to the client.Handles the graphql-transport-ws protocol over an already-established WebSocket connection.Callback interface for sending text frames to the client, with optional delay support.Evaluates a
GrpcChaosProfileagainst the current request context (match count, quota state) and decides whether to inject a gRPC fault.The outcome of a gRPC chaos fault decision.Process-wide registry of gRPC chaos profiles, keyed by gRPC service name.Handles forward-with-fallback actions: forwards the request to the upstream host defined by theHttpForward; if the upstream returns a status code matching the fallback criteria (default 500-599) or the request times out / fails to connect, the configured fallbackHttpResponseis returned instead.Process-wide, stateful request quota for HTTP chaos — a fixed-window rate limiter, the HTTP counterpart ofLlmQuotaRegistry.Process-wide registry of service-scoped HTTP chaos profiles, keyed by upstream host.Process-wide registry of TCP-layer chaos profiles, keyed by host.