Browse Source

Minor changes

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1274 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Arjen Poutsma 17 years ago
parent
commit
d292ace4eb
  1. 14
      spring-framework-reference/src/rest.xml

14
spring-framework-reference/src/rest.xml

@ -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>

Loading…
Cancel
Save