インターフェースの使用
org.springframework.web.client.RequestCallback
RequestCallback を使用するパッケージ
org.springframework.web.client 内の RequestCallback 使用
修飾子と型メソッド説明<T> RequestCallbackRestTemplate.acceptHeaderRequestCallback(ClassSE<T> responseType) 指定されたレスポンス型に基づいてリクエストAcceptヘッダーを設定するRequestCallbackを返し、構成されたメッセージコンバーターと照合します。<T> RequestCallbackRestTemplate.httpEntityCallback(ObjectSE requestBody) 指定されたオブジェクトをリクエストストリームに書き込むRequestCallback実装を返します。<T> RequestCallbackRestTemplate.httpEntityCallback(ObjectSE requestBody, TypeSE responseType) RequestCallback実装を返します。指定されたレスポンス型に基づいて、リクエストAcceptヘッダーを設定し、構成されたメッセージコンバーターに対してクロスチェックします。型 RequestCallback のパラメーターを持つ org.springframework.web.client のメソッド修飾子と型メソッド説明protected <T> TRestTemplate.doExecute(URISE url, StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URI で指定されたメソッドを実行します。protected <T> TRestTemplate.doExecute(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 使用すべきではありません。<T> TRestOperations.execute(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。<T> TRestOperations.execute(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。<T> TRestOperations.execute(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URL に対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。<T> TRestTemplate.execute(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。<T> TRestTemplate.execute(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。<T> TRestTemplate.execute(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URL に対して HTTP メソッドを実行し、RequestCallbackを使用してリクエストを準備し、ResponseExtractorを使用してレスポンスを読み取ります。
RestTemplate.doExecute(URI, String, HttpMethod, RequestCallback, ResponseExtractor)を推奨