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 java.io.IOException, java.lang.AssertionError
request
- the request to make assertions onjava.io.IOException
- in case of I/O errorsjava.lang.AssertionError
- if expectations are not met