public class SubStringMatcher extends BodyMatcher<NottableString>
Constructor and Description |
---|
SubStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
SubStringMatcher(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 SubStringMatcher(MockServerLogger mockServerLogger, String matcher)
public SubStringMatcher(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.