ClientRequest を推奨 @DeprecatedSE public interface AsyncClientHttpRequest extends HttpRequest, HttpOutputMessage
AsyncClientHttpRequestFactory の実装を介して作成されます。AsyncHttpRequest を実行して、読み取り可能な将来の ClientHttpResponse を取得できます。
AsyncClientHttpRequestFactory.createAsyncRequest(java.net.URI, org.springframework.http.HttpMethod)| 修飾子と型 | メソッドと説明 |
|---|---|
ListenableFuture<ClientHttpResponse> | executeAsync() 使用すべきではありません。 このリクエストを非同期で実行し、Future ハンドルを生成します。 |
getMethod, getMethodValue, getURIgetBodygetHeadersListenableFuture<ClientHttpResponse> executeAsync() throws IOExceptionSE
ClientHttpResponse。IOExceptionSE - I/O エラーの場合