インターフェースの使用
org.springframework.test.web.client.ResponseActions
ResponseActions を使用するパッケージ
org.springframework.test.web.client 内の ResponseActions 使用
org.springframework.test.web.client 内の ResponseActions サブインターフェース修飾子と型インターフェース説明interfaceRequestMatcherおよびResponseCreatorも実装するResponseActionsの拡張ResponseActions を実装している org.springframework.test.web.client のクラス修飾子と型クラス説明classリクエストマッチャーとそれに含まれるレスポンス作成者に単に委譲するRequestExpectationのデフォルト実装。修飾子と型メソッド説明DefaultRequestExpectation.andExpect(RequestMatcher requestMatcher) ResponseActions.andExpect(RequestMatcher requestMatcher) リクエストの期待値を追加します。MockRestServiceServer.expect(ExpectedCount count, RequestMatcher matcher) リクエストの実行が予想される回数も示すMockRestServiceServer.expect(RequestMatcher)の代替。MockRestServiceServer.expect(RequestMatcher matcher) 単一の HTTP リクエストに対する期待を設定します。AbstractRequestExpectationManager.expectRequest(ExpectedCount count, RequestMatcher matcher) RequestExpectationManager.expectRequest(ExpectedCount count, RequestMatcher requestMatcher) 新しいリクエストの期待を設定します。