From 15e51c5fb372bcca62b5bb70d5427715ea5064d9 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 28 May 2009 11:13:38 +0000 Subject: [PATCH] Minor changes --- 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 5f1bc6142c..3c8c64b630 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. +