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