public class HttpRequestMatcher extends NotMatcher<HttpRequest>
Constructor and Description |
---|
HttpRequestMatcher(Expectation expectation,
MockServerLogger mockServerLogger) |
HttpRequestMatcher(HttpRequest httpRequest,
MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
Expectation |
decrementRemainingMatches() |
String[] |
fieldsExcludedFromEqualsAndHashCode() |
Expectation |
getExpectation() |
boolean |
isActive() |
boolean |
matches(HttpRequest request) |
boolean |
matches(HttpRequest context,
HttpRequest request) |
String |
toString() |
not
equals, hashCode, key
public HttpRequestMatcher(HttpRequest httpRequest, MockServerLogger mockServerLogger)
public HttpRequestMatcher(Expectation expectation, MockServerLogger mockServerLogger)
public Expectation getExpectation()
public boolean matches(HttpRequest context, HttpRequest request)
public boolean matches(HttpRequest request)
public boolean isActive()
public Expectation decrementRemainingMatches()
public String toString()
toString
in class ObjectWithReflectiveEqualsHashCodeToString
public String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2018. All rights reserved.