Uses of Interface
org.springframework.web.client.RequestCallback
Packages that use RequestCallback
-
Uses of RequestCallback in org.springframework.web.client
Methods in org.springframework.web.client that return RequestCallbackModifier and TypeMethodDescription<T> RequestCallbackRestTemplate.acceptHeaderRequestCallback(Class<T> responseType) Return aRequestCallbackthat sets the requestAcceptheader based on the given response type, cross-checked against the configured message converters.<T> RequestCallbackRestTemplate.httpEntityCallback(Object requestBody) Return aRequestCallbackimplementation that writes the given object to the request stream.<T> RequestCallbackRestTemplate.httpEntityCallback(Object requestBody, Type responseType) Return aRequestCallbackimplementation that: Sets the requestAcceptheader based on the given response type, cross-checked against the configured message converters.Methods in org.springframework.web.client with parameters of type RequestCallbackModifier and TypeMethodDescriptionprotected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Deprecated.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.
RestTemplate.doExecute(URI, String, HttpMethod, RequestCallback, ResponseExtractor)