public class HttpRequestsPropertiesMatcher extends AbstractHttpRequestMatcher
BECAUSE, COLON_NEW_LINE, 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
EXPECTATION_PRIORITY_COMPARATOR
Modifier | Constructor and Description |
---|---|
protected |
HttpRequestsPropertiesMatcher(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(RequestDefinition requestDefinition) |
boolean |
equals(Object o) |
List<HttpRequestPropertiesMatcher> |
getHttpRequestPropertiesMatchers() |
List<HttpRequest> |
getHttpRequests() |
int |
hashCode() |
boolean |
matches(MatchDifference matchDifference,
RequestDefinition requestDefinition) |
String |
toString() |
getExpectation, isActive, isBlank, isResponseInProgress, matches, setControlPlaneMatcher, setDescription, setResponseInProgress, update, update
notMatcher
fieldsExcludedFromEqualsAndHashCode
protected HttpRequestsPropertiesMatcher(MockServerLogger mockServerLogger)
public List<HttpRequestPropertiesMatcher> getHttpRequestPropertiesMatchers()
public List<HttpRequest> getHttpRequests()
public boolean apply(RequestDefinition requestDefinition)
public boolean matches(MatchDifference matchDifference, RequestDefinition requestDefinition)
matches
in interface HttpRequestMatcher
matches
in interface Matcher<RequestDefinition>
matches
in class AbstractHttpRequestMatcher
public String toString()
toString
in class ObjectWithReflectiveEqualsHashCodeToString
public boolean equals(Object o)
equals
in class AbstractHttpRequestMatcher
public int hashCode()
hashCode
in class AbstractHttpRequestMatcher
Copyright © 2020. All rights reserved.