public class HttpRequestMatcher extends NotMatcher<HttpRequest>
| Constructor and Description |
|---|
HttpRequestMatcher(Expectation expectation,
MockServerLogger mockServerLogger) |
HttpRequestMatcher(HttpRequest httpRequest,
MockServerLogger mockServerLogger) |
| Modifier and Type | Method and Description |
|---|---|
Expectation |
decrementRemainingMatches() |
String[] |
fieldsExcludedFromEqualsAndHashCode() |
Expectation |
getExpectation() |
boolean |
isActive() |
boolean |
matches(HttpRequest request) |
boolean |
matches(HttpRequest context,
HttpRequest request) |
String |
toString() |
notequals, hashCode, keypublic HttpRequestMatcher(HttpRequest httpRequest, MockServerLogger mockServerLogger)
public HttpRequestMatcher(Expectation expectation, MockServerLogger mockServerLogger)
public Expectation getExpectation()
public boolean matches(HttpRequest context, HttpRequest request)
public boolean matches(HttpRequest request)
public boolean isActive()
public Expectation decrementRemainingMatches()
public String toString()
toString in class ObjectWithReflectiveEqualsHashCodeToStringpublic String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2018. All rights reserved.