public interface ResponseActionsMockRestServiceServer.expect(RequestMatcher) を通じて取得できます。| 修飾子と型 | メソッドと説明 |
|---|---|
ResponseActions | andExpect(RequestMatcher requestMatcher) リクエストの期待値を追加します。 |
void | andRespond(ResponseCreator responseCreator) レスポンスを定義します。 |
ResponseActions andExpect(RequestMatcher requestMatcher)
void andRespond(ResponseCreator responseCreator)
responseCreator - レスポンスの作成者