@FunctionalInterface public interface RequestMatcher
See MockRestRequestMatchers
for static factory methods.
Modifier and Type | Method and Description |
---|---|
void |
match(ClientHttpRequest request)
Match the given request against specific expectations.
|
void match(ClientHttpRequest request) throws IOException, AssertionError
request
- the request to make assertions onIOException
- in case of I/O errorsAssertionError
- if expectations are not met