接口的使用
org.springframework.web.client.AsyncRequestCallback
使用AsyncRequestCallback的程序包 程序包 说明 org.springframework.web.client Core package of the client-side web support.org.springframework.web.client中AsyncRequestCallback的使用
返回AsyncRequestCallback的org.springframework.web.client中的方法 修饰符和类型 方法 说明 protected <T> AsyncRequestCallbackAsyncRestTemplate. acceptHeaderRequestCallback(Class<T> responseType)已过时。Returns a request callback implementation that prepares the requestAcceptheaders based on the given response type and configured message converters.protected <T> AsyncRequestCallbackAsyncRestTemplate. httpEntityCallback(HttpEntity<T> requestBody)已过时。Returns a request callback implementation that writes the given object to the request stream.protected <T> AsyncRequestCallbackAsyncRestTemplate. httpEntityCallback(HttpEntity<T> request, Type responseType)已过时。Returns a request callback implementation that writes the given object to the request stream.参数类型为AsyncRequestCallback的org.springframework.web.client中的方法 修饰符和类型 方法 说明 protected <T> ListenableFuture<T>AsyncRestTemplate. doExecute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)已过时。Execute the given method on the provided URI.<T> ListenableFuture<T>AsyncRestOperations. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)已过时。Asynchronously execute the HTTP method to the given URI template, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestOperations. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)已过时。Asynchronously execute the HTTP method to the given URI template, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestOperations. execute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)已过时。Asynchronously execute the HTTP method to the given URL, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestTemplate. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)已过时。<T> ListenableFuture<T>AsyncRestTemplate. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)已过时。<T> ListenableFuture<T>AsyncRestTemplate. execute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)已过时。