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 matchDifference,
RequestDefinition requestDefinition) |
String |
toString() |
HttpRequestPropertiesMatcher |
withControlPlaneMatcher(boolean controlPlaneMatcher) |
getExpectation, isActive, isBlank, isResponseInProgress, matches, setControlPlaneMatcher, setDescription, setResponseInProgress, update, update
notMatcher
public HttpRequestPropertiesMatcher(MockServerLogger mockServerLogger)
public HttpRequest getHttpRequest()
public List<HttpRequest> getHttpRequests()
public boolean apply(RequestDefinition requestDefinition)
public HttpRequestPropertiesMatcher withControlPlaneMatcher(boolean controlPlaneMatcher)
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 String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
public boolean equals(Object o)
equals
in class AbstractHttpRequestMatcher
public int hashCode()
hashCode
in class AbstractHttpRequestMatcher
Copyright © 2020. All rights reserved.