public abstract class AbstractHttpRequestMatcher extends NotMatcher<RequestDefinition> implements HttpRequestMatcher
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
BECAUSE  | 
protected static String | 
COLON_NEW_LINES  | 
protected Configuration | 
configuration  | 
protected boolean | 
controlPlaneMatcher  | 
protected static String | 
DID_NOT_MATCH  | 
protected String | 
didNotMatchExpectationBecause  | 
protected String | 
didNotMatchExpectationWithoutBecause  | 
protected String | 
didNotMatchRequestBecause  | 
protected Expectation | 
expectation  | 
protected static String | 
EXPECTATION  | 
protected static String | 
EXPECTATION_DID_MATCH  | 
protected static String | 
MATCHED  | 
protected MockServerLogger | 
mockServerLogger  | 
protected static String | 
REQUEST_DID_MATCH  | 
protected static String | 
REQUEST_DID_NOT_MATCH  | 
protected static String | 
REQUEST_MATCHER  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractHttpRequestMatcher(Configuration configuration,
                          MockServerLogger mockServerLogger)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Expectation | 
getExpectation()  | 
MockServerMatcherNotifier.Cause | 
getSource()  | 
int | 
hashCode()  | 
boolean | 
isActive()  | 
boolean | 
isBlank()  | 
boolean | 
isResponseInProgress()  | 
abstract boolean | 
matches(MatchDifference context,
       RequestDefinition requestDefinition)  | 
boolean | 
matches(RequestDefinition requestDefinition)  | 
void | 
setControlPlaneMatcher(boolean controlPlaneMatcher)  | 
void | 
setDescription(String description)  | 
HttpRequestMatcher | 
setResponseInProgress(boolean responseInProgress)  | 
boolean | 
update(Expectation expectation)  | 
boolean | 
update(RequestDefinition requestDefinition)  | 
AbstractHttpRequestMatcher | 
withSource(MockServerMatcherNotifier.Cause source)  | 
notMatcherfieldsExcludedFromEqualsAndHashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHttpRequestsprotected static final String REQUEST_DID_NOT_MATCH
protected static final String REQUEST_MATCHER
protected static final String EXPECTATION
protected static final String BECAUSE
protected static final String REQUEST_DID_MATCH
protected static final String EXPECTATION_DID_MATCH
protected static final String DID_NOT_MATCH
protected static final String MATCHED
protected static final String COLON_NEW_LINES
protected final Configuration configuration
protected final MockServerLogger mockServerLogger
protected boolean controlPlaneMatcher
protected Expectation expectation
protected String didNotMatchRequestBecause
protected String didNotMatchExpectationBecause
protected String didNotMatchExpectationWithoutBecause
protected AbstractHttpRequestMatcher(Configuration configuration, MockServerLogger mockServerLogger)
public void setDescription(String description)
public boolean update(Expectation expectation)
update in interface HttpRequestMatcherpublic boolean update(RequestDefinition requestDefinition)
update in interface HttpRequestMatcherpublic void setControlPlaneMatcher(boolean controlPlaneMatcher)
public boolean matches(RequestDefinition requestDefinition)
matches in interface HttpRequestMatcherpublic abstract boolean matches(MatchDifference context, RequestDefinition requestDefinition)
matches in interface HttpRequestMatchermatches in interface Matcher<RequestDefinition>public Expectation getExpectation()
getExpectation in interface HttpRequestMatcherpublic boolean isResponseInProgress()
isResponseInProgress in interface HttpRequestMatcherpublic HttpRequestMatcher setResponseInProgress(boolean responseInProgress)
setResponseInProgress in interface HttpRequestMatcherpublic MockServerMatcherNotifier.Cause getSource()
getSource in interface HttpRequestMatcherpublic AbstractHttpRequestMatcher withSource(MockServerMatcherNotifier.Cause source)
withSource in interface HttpRequestMatcherpublic boolean isBlank()
isBlank in interface Matcher<RequestDefinition>public boolean isActive()
isActive in interface HttpRequestMatcherpublic boolean equals(Object o)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2022. All rights reserved.