Class MatchesJsonPathPattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.ContentPattern<String>
com.github.tomakehurst.wiremock.matching.StringValuePattern
com.github.tomakehurst.wiremock.matching.PathPattern
com.github.tomakehurst.wiremock.matching.MatchesJsonPathPattern
- All Implemented Interfaces:
NamedValueMatcher<String>
,ValueMatcher<String>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.tomakehurst.wiremock.matching.PathPattern
PathPattern.SubExpressionException
-
Field Summary
Fields inherited from class com.github.tomakehurst.wiremock.matching.PathPattern
valuePattern
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
Constructor Summary
ConstructorsConstructorDescriptionMatchesJsonPathPattern
(String value) MatchesJsonPathPattern
(String expectedJsonPath, StringValuePattern valuePattern) -
Method Summary
Modifier and TypeMethodDescriptiongetExpressionResult
(String value) protected MatchResult
isAdvancedMatch
(String value) protected MatchResult
isSimpleMatch
(String value) Methods inherited from class com.github.tomakehurst.wiremock.matching.PathPattern
equals, getValuePattern, hashCode, isSimple, match
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, getExpected, getName, isAbsent, isPresent, nullSafeIsAbsent, or, toString
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
Constructor Details
-
MatchesJsonPathPattern
-
MatchesJsonPathPattern
-
-
Method Details
-
getMatchesJsonPath
-
isSimpleMatch
- Specified by:
isSimpleMatch
in classPathPattern
-
isAdvancedMatch
- Specified by:
isAdvancedMatch
in classPathPattern
-
getExpressionResult
- Specified by:
getExpressionResult
in classPathPattern
-