Minor changes

This commit is contained in:
Arjen Poutsma 2009-05-28 11:13:38 +00:00
parent 3e4b552b6d
commit 15e51c5fb3
1 changed files with 12 additions and 2 deletions

View File

@ -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");
</programlisting>
<para>The general callback interface is
@ -910,7 +910,7 @@ URI location = template.postForLocation(uri, booking, String.class, "1");
<para>An <interfacename>HttpMessageConverter</interfacename>
implementation that can read and write form data from the HTTP request
and response. By default, this converter reads and writes the media
type (<literal>application/x-www-form-urlencoded</literal>). Form data
type <literal>application/x-www-form-urlencoded</literal>. Form data
is read from and written into a <literal>MultiValueMap&lt;String,
String&gt;</literal>.</para>
</section>
@ -955,6 +955,16 @@ URI location = template.postForLocation(uri, booking, String.class, "1");
converter supports (<literal>text/xml</literal>) and
(<literal>application/xml</literal>).</para>
</section>
<section id="rest-source-converter">
<title>BufferedImageHttpMessageConverter</title>
<para>An <interfacename>HttpMessageConverter</interfacename>
implementation that can read and write
<classname>java.awt.image.BufferedImage</classname> from the HTTP
request and response. This converter reads and writes the media type
supported by the Java I/O API.</para>
</section>
</section>
</section>
</chapter>