public class RegexStringMatcher extends BodyMatcher<NottableString>
Constructor and Description |
---|
RegexStringMatcher(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
fieldsExcludedFromEqualsAndHashCode() |
boolean |
isBlank() |
boolean |
matches(MatchDifference 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(MatchDifference context, NottableString matched)
public boolean matches(NottableString matcher, NottableString matched, boolean ignoreCase)
public boolean isBlank()
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2020. All rights reserved.