From d292ace4eb5472bb3afdbe072e23391772dbdaed Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 28 May 2009 11:13:38 +0000 Subject: [PATCH] Minor changes git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1274 50f2f4bb-b051-0410-bef5-90022cba6387 --- spring-framework-reference/src/rest.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/spring-framework-reference/src/rest.xml b/spring-framework-reference/src/rest.xml index 5f1bc6142cf..3c8c64b6308 100644 --- a/spring-framework-reference/src/rest.xml +++ b/spring-framework-reference/src/rest.xml @@ -823,7 +823,7 @@ RestTemplate template = new RestTemplate(); Booking booking = // create booking object -URI location = template.postForLocation(uri, booking, String.class, "1"); +URI location = template.postForLocation(uri, booking, "1"); The general callback interface is @@ -910,7 +910,7 @@ URI location = template.postForLocation(uri, booking, String.class, "1"); An HttpMessageConverter implementation that can read and write form data from the HTTP request and response. By default, this converter reads and writes the media - type (application/x-www-form-urlencoded). Form data + type application/x-www-form-urlencoded. Form data is read from and written into a MultiValueMap<String, String>. @@ -955,6 +955,16 @@ URI location = template.postForLocation(uri, booking, String.class, "1"); converter supports (text/xml) and (application/xml). + +
+ BufferedImageHttpMessageConverter + + An HttpMessageConverter + implementation that can read and write + java.awt.image.BufferedImage from the HTTP + request and response. This converter reads and writes the media type + supported by the Java I/O API. +