public class HttpRequestPropertiesMatcher extends AbstractHttpRequestMatcher
BECAUSE, COLON_NEW_LINES, controlPlaneMatcher, DID_NOT_MATCH, didNotMatchExpectationBecause, didNotMatchExpectationWithoutBecause, didNotMatchRequestBecause, expectation, EXPECTATION, EXPECTATION_DID_MATCH, MATCHED, mockServerLogger, REQUEST_DID_MATCH, REQUEST_DID_NOT_MATCH, REQUEST_MATCHER| Constructor and Description |
|---|
HttpRequestPropertiesMatcher(MockServerLogger mockServerLogger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(RequestDefinition requestDefinition) |
boolean |
equals(Object o) |
String[] |
fieldsExcludedFromEqualsAndHashCode() |
HttpRequest |
getHttpRequest() |
List<HttpRequest> |
getHttpRequests() |
int |
hashCode() |
boolean |
matches(MatchDifference context,
RequestDefinition requestDefinition) |
String |
toString() |
HttpRequestPropertiesMatcher |
withControlPlaneMatcher(boolean controlPlaneMatcher) |
getExpectation, isActive, isBlank, isResponseInProgress, matches, setControlPlaneMatcher, setDescription, setResponseInProgress, update, updatenotMatcherpublic HttpRequestPropertiesMatcher(MockServerLogger mockServerLogger)
public HttpRequest getHttpRequest()
public List<HttpRequest> getHttpRequests()
public boolean apply(RequestDefinition requestDefinition)
public HttpRequestPropertiesMatcher withControlPlaneMatcher(boolean controlPlaneMatcher)
public boolean matches(MatchDifference context, RequestDefinition requestDefinition)
matches in interface HttpRequestMatchermatches in interface Matcher<RequestDefinition>matches in class AbstractHttpRequestMatcherpublic String toString()
toString in class ObjectWithReflectiveEqualsHashCodeToStringpublic String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToStringpublic boolean equals(Object o)
equals in class AbstractHttpRequestMatcherpublic int hashCode()
hashCode in class AbstractHttpRequestMatcherCopyright © 2020. All rights reserved.