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 Booking booking = // create booking object
URI location = template.postForLocation(uri, booking, String.class, "1"); URI location = template.postForLocation(uri, booking, "1");
</programlisting> </programlisting>
<para>The general callback interface is <para>The general callback interface is
@ -910,7 +910,7 @@ URI location = template.postForLocation(uri, booking, String.class, "1");
<para>An <interfacename>HttpMessageConverter</interfacename> <para>An <interfacename>HttpMessageConverter</interfacename>
implementation that can read and write form data from the HTTP request implementation that can read and write form data from the HTTP request
and response. By default, this converter reads and writes the media 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, is read from and written into a <literal>MultiValueMap&lt;String,
String&gt;</literal>.</para> String&gt;</literal>.</para>
</section> </section>
@ -955,6 +955,16 @@ URI location = template.postForLocation(uri, booking, String.class, "1");
converter supports (<literal>text/xml</literal>) and converter supports (<literal>text/xml</literal>) and
(<literal>application/xml</literal>).</para> (<literal>application/xml</literal>).</para>
</section> </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>
</section> </section>
</chapter> </chapter>