public interface HttpRequestMatcher extends Matcher<RequestDefinition>
Modifier and Type | Field and Description |
---|---|
static Comparator<? super HttpRequestMatcher> |
EXPECTATION_PRIORITY_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
Expectation |
getExpectation() |
List<HttpRequest> |
getHttpRequests() |
boolean |
isActive() |
boolean |
isResponseInProgress() |
boolean |
matches(MatchDifference matchDifference,
RequestDefinition httpRequest) |
boolean |
matches(RequestDefinition request) |
HttpRequestMatcher |
setResponseInProgress(boolean responseInProgress) |
boolean |
update(Expectation expectation) |
boolean |
update(RequestDefinition requestDefinition) |
static final Comparator<? super HttpRequestMatcher> EXPECTATION_PRIORITY_COMPARATOR
List<HttpRequest> getHttpRequests()
boolean matches(RequestDefinition request)
boolean matches(MatchDifference matchDifference, RequestDefinition httpRequest)
matches
in interface Matcher<RequestDefinition>
Expectation getExpectation()
boolean update(Expectation expectation)
boolean update(RequestDefinition requestDefinition)
HttpRequestMatcher setResponseInProgress(boolean responseInProgress)
boolean isResponseInProgress()
boolean isActive()
Copyright © 2020. All rights reserved.