public class HttpRequestMatcher extends NotMatcher<HttpRequest>
logger
Constructor and Description |
---|
HttpRequestMatcher(Expectation expectation,
LoggingFormatter logFormatter) |
HttpRequestMatcher(HttpRequest httpRequest,
LoggingFormatter logFormatter) |
Modifier and Type | Method and Description |
---|---|
Expectation |
decrementRemainingMatches() |
Expectation |
getExpectation() |
boolean |
isActive() |
boolean |
matches(HttpRequest request) |
boolean |
matches(HttpRequest request,
boolean logMatchResults) |
String |
toString() |
not
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode
public HttpRequestMatcher(HttpRequest httpRequest, LoggingFormatter logFormatter)
public HttpRequestMatcher(Expectation expectation, LoggingFormatter logFormatter)
public Expectation getExpectation()
public boolean matches(HttpRequest request)
public boolean matches(HttpRequest request, boolean logMatchResults)
public boolean isActive()
public Expectation decrementRemainingMatches()
public String toString()
toString
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2018. All rights reserved.