Uses of Interface
org.springframework.web.client.ResponseExtractor
-
Uses of ResponseExtractor in org.springframework.web.client
Modifier and TypeClassDescriptionclass
Response extractor that uses the given entity converters to convert the response into a typeT
.Modifier and TypeMethodDescriptionprotected ResponseExtractor<HttpHeaders>
RestTemplate.headersExtractor()
Return a response extractor forHttpHeaders
.<T> ResponseExtractor<ResponseEntity<T>>
RestTemplate.responseEntityExtractor
(Type responseType) Return aResponseExtractor
that prepares aResponseEntity
.Modifier and TypeMethodDescriptionprotected <T> @Nullable T
RestTemplate.doExecute
(URI url, @Nullable String uriTemplate, @Nullable HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.<T> @Nullable T
RestOperations.execute
(String uriTemplate, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor, @Nullable Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.<T> @Nullable T
RestOperations.execute
(String uriTemplate, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor, Map<String, ? extends @Nullable Object> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.<T> @Nullable T
RestOperations.execute
(URI url, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.<T> @Nullable T
RestTemplate.execute
(String uriTemplate, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor, @Nullable Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.<T> @Nullable T
RestTemplate.execute
(String uriTemplate, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor, Map<String, ? extends @Nullable Object> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.<T> @Nullable T
RestTemplate.execute
(URI url, HttpMethod method, @Nullable RequestCallback requestCallback, @Nullable ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback
, and reading the response with aResponseExtractor
.