Package org.mockserver.matchers
package org.mockserver.matchers
-
ClassDescriptionBodyMatcher<MatchedType>Builds a
BodyMatcherfor a givenBodytemplate.Shared body-matching dispatch used by BOTH request matching (HttpRequestPropertiesMatcher) and response matching (HttpResponseMatcher).Minimal abstraction over the pieces of an HTTP message that the shared body-dispatch logic inBodyMatchingneeds to match an actual message body against a template body matcher.Matcher forConditionalRequestDefinition(if-then-else request matching).Loads theCustomJsonUnitMatcherProviderclass named bymockserver.customJsonUnitMatchersClassand exposes the matchers it produces.Plug-in point for registering custom json-unit matchers so they can be referenced from JSON body expectations using the${json-unit.matches:name}placeholder.Deterministic fuzzy / similarity body matcher.AST-aware GraphQL body matcher.Matches HTTP request properties against expectation criteria.Matches an actualHttpResponseagainst a templateHttpResponse.See https://github.com/json-path/JsonPathSee http://json-schema.org/Matches inbound HTTP requests against LLM conversation predicates.Matcher<T>Base interface for all matchers in MockServer.Shared daemon-thread executor used by request matchers (regex, XPath) to bound the runtime of pathological user-supplied expressions.Produces short, actionable remediation hints from match-difference fields.Matches amultipart/form-datarequest body at the field level.The pair of values needed to decode an actual multipart request: the raw body bytes and the requestContent-Typeheader (carrying the boundary).NotMatcher<MatchedType>Extracts the regex capture groups from a matched expectation's path pattern against the actual request path, so they can be exposed to response/forward templates.Holds the numbered and named capture groups extracted from a path match.Deterministic string-similarity metrics used byFuzzyMatcher.Body matcher that delegates matching to a WASM module loaded in theWasmStore.See http://xml-schema.org/