Example usage for Java org.springframework.web.client AsyncRestTemplate fields, constructors, methods, implement or subclass
The text is from its open source code.
AsyncRestTemplate() Create a new instance of the AsyncRestTemplate using default settings. | |
AsyncRestTemplate(AsyncListenableTaskExecutor taskExecutor) Create a new instance of the AsyncRestTemplate using the given AsyncTaskExecutor . | |
AsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory) Create a new instance of the AsyncRestTemplate using the given org.springframework.http.client.AsyncClientHttpRequestFactory . |
ListenableFuture | exchange(URI url, HttpMethod method, @Nullable HttpEntity> requestEntity, Class |
ListenableFuture | exchange(URI url, HttpMethod method, @Nullable HttpEntity> requestEntity, ParameterizedTypeReference |
org.springframework.http.client.AsyncClientHttpRequestFactory | getAsyncRequestFactory() |
ListenableFuture | getForEntity(URI url, Class |
List | getMessageConverters() Return the message body converters. |
ListenableFuture | postForEntity(String url, @Nullable HttpEntity> request, Class |
ListenableFuture | postForEntity(String url, @Nullable HttpEntity> request, Class |
ListenableFuture | postForEntity(URI url, @Nullable HttpEntity> request, Class |
void | setErrorHandler(ResponseErrorHandler errorHandler) Set the error handler. |
void | setMessageConverters(List Set the message body converters to use. |