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 |
|---|---|
ListenableFuture<ClientHttpResponse> |
executeAsync()
Deprecated.
Execute this request asynchronously, resulting in a Future handle.
|
getMethod, getMethodValue, getURIgetBodygetHeadersListenableFuture<ClientHttpResponse> executeAsync() throws IOException
ClientHttpResponse that can be read.IOException - in case of I/O errors