Class PathPattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.ContentPattern<String>
com.github.tomakehurst.wiremock.matching.StringValuePattern
com.github.tomakehurst.wiremock.matching.PathPattern
- All Implemented Interfaces:
NamedValueMatcher<String>,ValueMatcher<String>
- Direct Known Subclasses:
MatchesJsonPathPattern,MatchesXPathPattern
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPathPattern(String expectedValue, StringValuePattern valuePattern) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract ListOrSingle<String>getExpressionResult(String value) inthashCode()protected abstract MatchResultisAdvancedMatch(String value) booleanisSimple()protected abstract MatchResultisSimpleMatch(String value) Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, getExpected, getName, isAbsent, isPresent, nullSafeIsAbsent, or, toStringMethods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
Field Details
-
valuePattern
-
-
Constructor Details
-
PathPattern
-
-
Method Details
-
getValuePattern
-
isSimple
public boolean isSimple() -
match
-
isSimpleMatch
-
isAdvancedMatch
-
getExpressionResult
-
equals
- Overrides:
equalsin classStringValuePattern
-
hashCode
public int hashCode()- Overrides:
hashCodein classStringValuePattern
-