@FunctionalInterfaceSE public interface ClientHttpRequestExecution
インターセプターチェーンの次のインターセプターを呼び出すために使用されます。または - 呼び出し側インターセプターが最後の場合 - リクエスト自体を実行します。
ClientHttpRequestInterceptor
修飾子と型 | メソッドと説明 |
---|---|
ClientHttpResponse | execute(HttpRequest request, byte[] body) 与えられたリクエスト属性とボディでリクエストを実行し、レスポンスを返します。 |
ClientHttpResponse execute(HttpRequest request, byte[] body) throws IOExceptionSE
request
- メソッド、URI、ヘッダーを含むリクエスト body
- 実行するリクエストの本文 IOExceptionSE
- I/O エラーの場合