@FunctionalInterfaceSE public interface RequestMatcher
静的ファクトリメソッドについては、MockRestRequestMatchers
を参照してください。
修飾子と型 | メソッドと説明 |
---|---|
void | match(ClientHttpRequest request) 指定されたリクエストを特定の期待値と照合します。 |
void match(ClientHttpRequest request) throws IOExceptionSE, AssertionErrorSE
request
- アサーションを作成するリクエスト IOExceptionSE
- I/O エラーの場合 AssertionErrorSE
- 期待に応えられない場合