ExchangeFilterFunction
を推奨 @DeprecatedSE public interface AsyncClientHttpRequestExecution
インターセプターチェーンの次のインターセプターを呼び出すために使用されます。または - 呼び出し側インターセプターが最後の場合 - リクエスト自体を実行します。
AsyncClientHttpRequestInterceptor
修飾子と型 | メソッドと説明 |
---|---|
ListenableFuture<ClientHttpResponse> | executeAsync(HttpRequest request, byte[] body) 使用すべきではありません。 チェーンの次のインターセプターを呼び出すか、リモートサービスへのリクエストを実行して、リクエストの実行を再開します。 |
ListenableFuture<ClientHttpResponse> executeAsync(HttpRequest request, byte[] body) throws IOExceptionSE
request
- HTTP メソッドとヘッダーを含む HTTP リクエスト body
- リクエストの本文 IOExceptionSE
- I/O エラーの場合