public class HttpRequestMatcher extends NotMatcher<HttpRequest>
| Modifier and Type | Field and Description |
|---|---|
static Comparator<? super HttpRequestMatcher> |
EXPECTATION_PRIORITY_COMPARATOR |
| Constructor and Description |
|---|
HttpRequestMatcher(MockServerLogger mockServerLogger,
HttpRequest httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
fieldsExcludedFromEqualsAndHashCode() |
Expectation |
getExpectation() |
boolean |
isActive() |
boolean |
isBlank() |
boolean |
isResponseInProgress() |
boolean |
matches(HttpRequest request) |
boolean |
matches(MatchDifference matchDifference,
HttpRequest request) |
HttpRequestMatcher |
setResponseInProgress(boolean responseInProgress) |
String |
toString() |
boolean |
update(Expectation expectation) |
boolean |
update(HttpRequest httpRequest) |
HttpRequestMatcher |
withControlPlaneMatcher(boolean controlPlaneMatcher) |
notequals, hashCodepublic static final Comparator<? super HttpRequestMatcher> EXPECTATION_PRIORITY_COMPARATOR
public HttpRequestMatcher(MockServerLogger mockServerLogger, HttpRequest httpRequest)
public boolean update(HttpRequest httpRequest)
public boolean update(Expectation expectation)
public HttpRequestMatcher withControlPlaneMatcher(boolean controlPlaneMatcher)
public boolean isResponseInProgress()
public HttpRequestMatcher setResponseInProgress(boolean responseInProgress)
public Expectation getExpectation()
public boolean matches(HttpRequest request)
public boolean matches(MatchDifference matchDifference, HttpRequest request)
public boolean isBlank()
public boolean isActive()
public String toString()
toString in class ObjectWithReflectiveEqualsHashCodeToStringpublic String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2020. All rights reserved.