@Immutable @ThreadSafe public class DefaultRequestExpectation extends Object implements RequestExpectation
RequestExpectation.| Modifier | Constructor and Description |
|---|---|
protected |
DefaultRequestExpectation(org.hamcrest.Matcher<HttpRequest> requestMatcher)
Constructs new instance of request expectation.
|
| Modifier and Type | Method and Description |
|---|---|
org.hamcrest.Matcher<HttpRequest> |
getRequestMatcher()
Gets matcher to check an actual request against this expectation.
|
protected DefaultRequestExpectation(org.hamcrest.Matcher<HttpRequest> requestMatcher)
requestMatcher - Request matcher to check an actual request against
this expectation.NullPointerException - requestMatcher is null.public org.hamcrest.Matcher<HttpRequest> getRequestMatcher()
RequestExpectationgetRequestMatcher in interface RequestExpectationCopyright © 2016. All rights reserved.