接口的使用
cn.taketoday.web.client.ResponseExtractor
使用ResponseExtractor的程序包
-
cn.taketoday.web.client中ResponseExtractor的使用
修饰符和类型类说明classResponse extractor that uses the given entity converters to convert the response into a typeT.private static classResponse extractor that extracts the responseHttpHeaders.private classResponse extractor forHttpEntity.修饰符和类型方法说明protected ResponseExtractor<HttpHeaders>RestTemplate.headersExtractor()Return a response extractor forHttpHeaders.<T> ResponseExtractor<ResponseEntity<T>>RestTemplate.responseEntityExtractor(Type responseType) Return aResponseExtractorthat prepares aResponseEntity.参数类型为ResponseExtractor的cn.taketoday.web.client中的方法修饰符和类型方法说明protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.<T> TRestOperations.execute(String url, 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 url, 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 url, 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 url, 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.