Class AbstractRegexPattern
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<java.lang.String>
-
- com.github.tomakehurst.wiremock.matching.StringValuePattern
-
- com.github.tomakehurst.wiremock.matching.AbstractRegexPattern
-
- All Implemented Interfaces:
NamedValueMatcher<java.lang.String>
,ValueMatcher<java.lang.String>
- Direct Known Subclasses:
NegativeRegexPattern
,RegexPattern
public abstract class AbstractRegexPattern extends StringValuePattern
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.regex.Pattern
pattern
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRegexPattern(java.lang.String regex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchResult
match(java.lang.String value)
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getExpected, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
-
-
-
Method Detail
-
match
public MatchResult match(java.lang.String value)
-
-