private abstract static class XpathRequestMatchers.AbstractXpathRequestMatcher extends java.lang.Object implements RequestMatcher
RequestMatcher
's.Modifier | Constructor and Description |
---|---|
private |
AbstractXpathRequestMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
match(ClientHttpRequest request)
Match the given request against specific expectations.
|
protected abstract void |
matchInternal(MockClientHttpRequest request) |
public final void match(ClientHttpRequest request) throws java.io.IOException, java.lang.AssertionError
RequestMatcher
match
in interface RequestMatcher
request
- the request to make assertions onjava.io.IOException
- in case of I/O errorsjava.lang.AssertionError
- if expectations are not metprotected abstract void matchInternal(MockClientHttpRequest request) throws java.lang.Exception
java.lang.Exception