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