Package org.mockserver.matchers
Class WasmBodyMatcher
java.lang.Object
Body matcher that delegates matching to a WASM module loaded in the
WasmStore.
When WASM support is disabled (wasmEnabled=false), the matcher always
returns false (no match) — consistent with the fail-closed design.
Fails closed: returns false if the module is not loaded or throws.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]booleanisBlank()booleanmatches(MatchDifference context, String actual) Methods inherited from class org.mockserver.matchers.NotMatcher
notMatcherMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, hashCode, toString
-
Constructor Details
-
WasmBodyMatcher
-
-
Method Details
-
matches
-
isBlank
public boolean isBlank() -
fieldsExcludedFromEqualsAndHashCode
- Overrides:
fieldsExcludedFromEqualsAndHashCodein classObjectWithReflectiveEqualsHashCodeToString
-