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