org.springframework.web.reactive.function.client.ClientRequest@Deprecated public interface AsyncClientHttpRequest extends HttpRequest, HttpOutputMessage
AsyncClientHttpRequestFactory.
A AsyncHttpRequest can be executed,
getting a future ClientHttpResponse which can be read from.
AsyncClientHttpRequestFactory.createAsyncRequest(java.net.URI, org.springframework.http.HttpMethod)| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.concurrent.ListenableFuture<ClientHttpResponse> |
executeAsync()
Deprecated.
Execute this request asynchronously, resulting in a Future handle.
|
getMethod, getMethodValue, getURIgetBodygetHeadersorg.springframework.util.concurrent.ListenableFuture<ClientHttpResponse> executeAsync() throws IOException
ClientHttpResponse that can be read.IOException - in case of I/O errors