Class AbstractHttpRequestMatcher
java.lang.Object
software.xdev.mockserver.matchers.NotMatcher<RequestDefinition>
software.xdev.mockserver.matchers.AbstractHttpRequestMatcher
- All Implemented Interfaces:
HttpRequestMatcher,Matcher<RequestDefinition>
- Direct Known Subclasses:
HttpRequestPropertiesMatcher
public abstract class AbstractHttpRequestMatcher
extends NotMatcher<RequestDefinition>
implements HttpRequestMatcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected final ServerConfigurationprotected booleanprotected static final Stringprotected Stringprotected Stringprotected Stringprotected Expectationprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractHttpRequestMatcher(ServerConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisActive()booleanisBlank()booleanabstract booleanmatches(MatchDifference context, RequestDefinition requestDefinition) booleanmatches(RequestDefinition requestDefinition) voidsetControlPlaneMatcher(boolean controlPlaneMatcher) voidsetDescription(String description) setResponseInProgress(boolean responseInProgress) booleanupdate(Expectation expectation) booleanupdate(RequestDefinition requestDefinition) Methods inherited from class software.xdev.mockserver.matchers.NotMatcher
notMatcherMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.xdev.mockserver.matchers.HttpRequestMatcher
getHttpRequests
-
Field Details
-
REQUEST_DID_NOT_MATCH
- See Also:
-
REQUEST_MATCHER
- See Also:
-
EXPECTATION
- See Also:
-
BECAUSE
- See Also:
-
REQUEST_DID_MATCH
- See Also:
-
EXPECTATION_DID_MATCH
- See Also:
-
DID_NOT_MATCH
- See Also:
-
MATCHED
- See Also:
-
COLON_NEW_LINES
- See Also:
-
configuration
-
controlPlaneMatcher
protected boolean controlPlaneMatcher -
expectation
-
didNotMatchRequestBecause
-
didNotMatchExpectationBecause
-
didNotMatchExpectationWithoutBecause
-
-
Constructor Details
-
AbstractHttpRequestMatcher
-
-
Method Details
-
setDescription
-
update
- Specified by:
updatein interfaceHttpRequestMatcher
-
update
- Specified by:
updatein interfaceHttpRequestMatcher
-
setControlPlaneMatcher
public void setControlPlaneMatcher(boolean controlPlaneMatcher) -
matches
- Specified by:
matchesin interfaceHttpRequestMatcher
-
matches
- Specified by:
matchesin interfaceHttpRequestMatcher- Specified by:
matchesin interfaceMatcher<RequestDefinition>
-
getExpectation
- Specified by:
getExpectationin interfaceHttpRequestMatcher
-
isResponseInProgress
public boolean isResponseInProgress()- Specified by:
isResponseInProgressin interfaceHttpRequestMatcher
-
setResponseInProgress
- Specified by:
setResponseInProgressin interfaceHttpRequestMatcher
-
getSource
- Specified by:
getSourcein interfaceHttpRequestMatcher
-
withSource
- Specified by:
withSourcein interfaceHttpRequestMatcher
-
isBlank
public boolean isBlank()- Specified by:
isBlankin interfaceMatcher<RequestDefinition>
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceHttpRequestMatcher
-
equals
- Overrides:
equalsin classNotMatcher<RequestDefinition>
-
hashCode
public int hashCode()- Overrides:
hashCodein classNotMatcher<RequestDefinition>
-