public class MockServerMatcher extends ObjectWithReflectiveEqualsHashCodeToString
Modifier and Type | Field and Description |
---|---|
protected List<HttpRequestMatcher> |
httpRequestMatchers |
logger
Constructor and Description |
---|
MockServerMatcher(LoggingFormatter logFormatter) |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation expectation) |
void |
clear(HttpRequest httpRequest) |
Expectation |
firstMatchingExpectation(HttpRequest httpRequest) |
void |
reset() |
List<Expectation> |
retrieveExpectations(HttpRequest httpRequest) |
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
protected final List<HttpRequestMatcher> httpRequestMatchers
public MockServerMatcher(LoggingFormatter logFormatter)
public void add(Expectation expectation)
public void reset()
public Expectation firstMatchingExpectation(HttpRequest httpRequest)
public void clear(HttpRequest httpRequest)
public List<Expectation> retrieveExpectations(HttpRequest httpRequest)
Copyright © 2018. All rights reserved.