Package org.mockserver.wasm
package org.mockserver.wasm
-
ClassDescriptionImmutable view of the parts of an HTTP request that a WASM matcher module can inspect: the
method,path,queryStringParameters,headers,cookies, andbody.Immutable view of the parts of an HTTP response that a WASMshape_responsemodule can read and rewrite: thestatusCode,headers, andbody.Applies a WASM module's optionalshape_responseexport to the response a matched expectation would return, enabling WASM-computed dynamic responses (ABI v3).Thin wrapper around a compiled chicory WASM instance.Signals that a WASMshape_responsemodule failed in a way that makes its returned response unusable — it trapped, returned an out-of-bounds or oversized memory region, or returned bytes that are not a valid response JSON object.Thread-safe in-memory store for WASM modules, keyed by module name.