public class RegexStringMatcher extends BodyMatcher<NottableString>
Constructor and Description |
---|
RegexStringMatcher(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
fieldsExcludedFromEqualsAndHashCode() |
boolean |
matches(HttpRequest context,
NottableString matched) |
boolean |
matches(NottableString matcher,
NottableString matched,
boolean ignoreCase) |
boolean |
matches(String matched) |
boolean |
matches(String matcher,
String matched,
boolean ignoreCase) |
not
equals, hashCode, toString
public RegexStringMatcher(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public boolean matches(String matched)
public boolean matches(HttpRequest context, NottableString matched)
public boolean matches(NottableString matcher, NottableString matched, boolean ignoreCase)
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2020. All rights reserved.