Uses of Class
org.mockserver.matchers.MatchDifference
Packages that use MatchDifference
-
Uses of MatchDifference in org.mockserver.collections
Methods in org.mockserver.collections with parameters of type MatchDifferenceModifier and TypeMethodDescriptionbooleanNottableStringHashMap.containsAll(MockServerLogger mockServerLogger, MatchDifference context, NottableStringHashMap subset) booleanNottableStringMultiMap.containsAll(MockServerLogger mockServerLogger, MatchDifference context, NottableStringMultiMap subset) -
Uses of MatchDifference in org.mockserver.matchers
Methods in org.mockserver.matchers that return MatchDifferenceModifier and TypeMethodDescriptionMatchDifference.addDifference(String messageFormat, Object... arguments) MatchDifference.addDifference(MockServerLogger mockServerLogger, String messageFormat, Object... arguments) MatchDifference.addDifference(MockServerLogger mockServerLogger, Throwable throwable, String messageFormat, Object... arguments) MatchDifference.addDifference(MatchDifference.Field fieldName, String messageFormat, Object... arguments) MatchDifference.collectAllDifferences()Ask matchers to evaluate every field instead of stopping at the first non-matching one, so this context collects the complete set of differing fields.protected MatchDifferenceMatchDifference.currentField(MatchDifference.Field fieldName) MatchDifference.suppressMatchResultLogging()Mark this difference context as diagnostic-only: matchers must compute differences without logging EXPECTATION_MATCHED / EXPECTATION_NOT_MATCHED events.Methods in org.mockserver.matchers with parameters of type MatchDifferenceModifier and TypeMethodDescriptionabstract booleanAbstractHttpRequestMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanAllOfBodyMatcher.matches(MatchDifference context, Object matched) Not called on the composite directly —BodyMatchingperforms the per-component dispatch so it can supply each component the body source and decoder it needs.booleanBinaryMatcher.matches(MatchDifference context, byte[] matched) booleanBinaryRequestPropertiesMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanBooleanMatcher.matches(MatchDifference context, Boolean matched) booleanClientCertificateMatcher.matches(MatchDifference context, List<X509Certificate> chain) booleanConditionalRequestMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanDnsRequestPropertiesMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanExactStringMatcher.matches(MatchDifference context, String matched) booleanExactStringMatcher.matches(MatchDifference context, NottableString matched) booleanFuzzyMatcher.matches(MatchDifference context, String matched) booleanGraphQLMatcher.matches(MatchDifference context, String matched) booleanHashMapMatcher.matches(MatchDifference context, KeysAndValues<? extends KeyAndValue, ? extends KeysAndValues> matched) booleanHttpRequestMatcher.matches(MatchDifference context, RequestDefinition httpRequest) booleanHttpRequestPropertiesMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanHttpRequestsPropertiesMatcher.matches(MatchDifference context, RequestDefinition requestDefinition) booleanHttpResponseMatcher.matches(MatchDifference context, HttpResponse actual) Returnstruewhen the actual response matches the template, recording per-field differences intocontextwhen it is non-null.booleanJsonPathMatcher.matches(MatchDifference context, String matched) booleanJsonRpcMatcher.matches(MatchDifference context, String matched) booleanJsonSchemaMatcher.matches(MatchDifference context, String matched) booleanJsonStringMatcher.matches(MatchDifference context, String matched) booleanJwtMatcher.matches(MatchDifference context, String headerValue) booleanMatcher.matches(MatchDifference context, T t) booleanMultipartMatcher.matches(MatchDifference context, MultipartMatcher.MultipartInput matched) booleanMultiValueMapMatcher.matches(MatchDifference context, KeysToMultiValues<? extends KeyToMultiValue, ? extends KeysToMultiValues> matched) booleanParameterStringMatcher.matches(MatchDifference context, String matched) booleanRegexStringMatcher.matches(MockServerLogger mockServerLogger, MatchDifference context, NottableString matcher, NottableString matched) booleanRegexStringMatcher.matches(MatchDifference context, NottableString matched) booleanSubStringMatcher.matches(MatchDifference context, String matched) booleanSubStringMatcher.matches(MatchDifference context, NottableString matched) booleanWasmBodyMatcher.matches(MatchDifference context, String actual) booleanXmlSchemaMatcher.matches(MatchDifference context, String matched) booleanXmlStringMatcher.matches(MatchDifference context, String matched) booleanXPathMatcher.matches(MatchDifference context, String matched) static booleanBinaryHeaderValueNormalizer.matchesIgnoringPadding(RegexStringMatcher regexStringMatcher, MockServerLogger mockServerLogger, MatchDifference context, NottableString matcherValue, NottableString matchedValue) Compares two-binvalues with base64 padding removed from both, reporting any mismatch against the values as originally written. -
Uses of MatchDifference in org.mockserver.model
Methods in org.mockserver.model with parameters of type MatchDifferenceModifier and TypeMethodDescriptionbooleanNottableSchemaString.matches(MockServerLogger mockServerLogger, MatchDifference context, String json) booleanNottableSchemaString.matches(MockServerLogger mockServerLogger, MatchDifference context, List<NottableString> json)