Package org.mockserver.matchers
Class RegexStringMatcher
- java.lang.Object
- 
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
- 
- org.mockserver.matchers.NotMatcher<MatchedType>
- 
- org.mockserver.matchers.BodyMatcher<NottableString>
- 
- org.mockserver.matchers.RegexStringMatcher
 
 
 
 
- 
- All Implemented Interfaces:
- Matcher<NottableString>
 
 public class RegexStringMatcher extends BodyMatcher<NottableString> - Author:
- jamesdbloom
 
- 
- 
Constructor SummaryConstructors Constructor Description RegexStringMatcher(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]fieldsExcludedFromEqualsAndHashCode()booleanmatches(String matched)booleanmatches(String matcher, String matched, boolean ignoreCase)booleanmatches(HttpRequest context, NottableString matched)booleanmatches(NottableString matcher, NottableString matched, boolean ignoreCase)- 
Methods inherited from class org.mockserver.matchers.NotMatchernot
 - 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToStringequals, hashCode, key, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
RegexStringMatcherpublic RegexStringMatcher(MockServerLogger mockServerLogger, boolean controlPlaneMatcher) 
 
- 
 - 
Method Detail- 
matchespublic boolean matches(String matched) 
 - 
matchespublic boolean matches(HttpRequest context, NottableString matched) 
 - 
matchespublic boolean matches(NottableString matcher, NottableString matched, boolean ignoreCase) 
 - 
fieldsExcludedFromEqualsAndHashCodeprotected String[] fieldsExcludedFromEqualsAndHashCode() - Overrides:
- fieldsExcludedFromEqualsAndHashCodein class- ObjectWithReflectiveEqualsHashCodeToString
 
 
- 
 
-