public class XmlStringMatcher extends BodyMatcher<NottableString>
Constructor and Description |
---|
XmlStringMatcher(MockServerLogger mockServerLogger,
NottableString matcher) |
XmlStringMatcher(MockServerLogger mockServerLogger,
String matcher) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
fieldsExcludedFromEqualsAndHashCode() |
boolean |
matches(HttpRequest context,
NottableString matched) |
boolean |
matches(String matched) |
NottableString |
normaliseXmlNottableString(NottableString input) |
String |
normaliseXmlString(String input) |
not
equals, hashCode, key, toString
public XmlStringMatcher(MockServerLogger mockServerLogger, String matcher)
public XmlStringMatcher(MockServerLogger mockServerLogger, NottableString matcher)
public String normaliseXmlString(String input) throws ParserConfigurationException, SAXException, IOException, TransformerException
public NottableString normaliseXmlNottableString(NottableString input) throws IOException, SAXException, ParserConfigurationException, TransformerException
public boolean matches(String matched)
public boolean matches(HttpRequest context, NottableString matched)
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2018. All rights reserved.