Package org.mockserver.matchers
Interface HttpRequestMatcher
-
- All Superinterfaces:
Matcher<RequestDefinition>
- All Known Implementing Classes:
AbstractHttpRequestMatcher,BinaryRequestPropertiesMatcher,DnsRequestPropertiesMatcher,HttpRequestPropertiesMatcher,HttpRequestsPropertiesMatcher
public interface HttpRequestMatcher extends Matcher<RequestDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpectationgetExpectation()List<HttpRequest>getHttpRequests()MockServerMatcherNotifier.CausegetSource()booleanisActive()booleanisResponseInProgress()booleanmatches(MatchDifference context, RequestDefinition httpRequest)booleanmatches(RequestDefinition request)HttpRequestMatchersetResponseInProgress(boolean responseInProgress)booleanupdate(Expectation expectation)booleanupdate(RequestDefinition requestDefinition)HttpRequestMatcherwithSource(MockServerMatcherNotifier.Cause source)
-
-
-
Method Detail
-
getHttpRequests
List<HttpRequest> getHttpRequests()
-
matches
boolean matches(RequestDefinition request)
-
matches
boolean matches(MatchDifference context, RequestDefinition httpRequest)
- Specified by:
matchesin interfaceMatcher<RequestDefinition>
-
getExpectation
Expectation getExpectation()
-
update
boolean update(Expectation expectation)
-
update
boolean update(RequestDefinition requestDefinition)
-
setResponseInProgress
HttpRequestMatcher setResponseInProgress(boolean responseInProgress)
-
isResponseInProgress
boolean isResponseInProgress()
-
getSource
MockServerMatcherNotifier.Cause getSource()
-
withSource
HttpRequestMatcher withSource(MockServerMatcherNotifier.Cause source)
-
isActive
boolean isActive()
-
-