Update remoting chapter (minor)
Issue: SPR-9822
This commit is contained in:
@@ -38,6 +38,21 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section id="new-in-3.2-spring-mvc-test">
|
||||
<title>Spring MVC Test framework</title>
|
||||
|
||||
<para>First-class support for testing Spring MVC applications with a
|
||||
fluent API and without a servlet container. Server-side tests involve
|
||||
use of the <classname>DispatcherServlet</classname> while client-side
|
||||
REST tests rely on the <classname>RestTemplate</classname>.
|
||||
See the following presentation for more information before
|
||||
documentation is added:
|
||||
<ulink url="https://github.com/rstoyanchev/spring-32-test-webapps">
|
||||
"Testing Web Applications with Spring 3.2"</ulink>.
|
||||
</para>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="new-in-3.2-webmvc-content-negotiation">
|
||||
<title>Content negotiation improvements</title>
|
||||
|
||||
|
||||
@@ -1389,15 +1389,15 @@ String result =
|
||||
specifying an implementation of
|
||||
<interfacename>ClientHttpRequestFactory</interfacename>. Spring provides
|
||||
the implementation
|
||||
<classname>CommonsClientHttpRequestFactory</classname> that uses the
|
||||
Jakarta Commons <classname>HttpClient</classname> to create requests.
|
||||
<classname>CommonsClientHttpRequestFactory</classname> is configured
|
||||
<classname>HttpComponentsClientHttpRequestFactory</classname> that uses the
|
||||
Apache HttpComponents <classname>HttpClient</classname> to create requests.
|
||||
<classname>HttpComponentsClientHttpRequestFactory</classname> is configured
|
||||
using an instance of
|
||||
<classname>org.apache.commons.httpclient.HttpClient</classname> which
|
||||
<classname>org.apache.http.client.HttpClient</classname> which
|
||||
can in turn be configured with credentials information or connection
|
||||
pooling functionality.</para>
|
||||
|
||||
<para>The previous example using Jakarta Commons
|
||||
<para>The previous example using Apache HttpComponents
|
||||
<classname>HttpClient</classname> directly rewritten to use the
|
||||
<classname>RestTemplate</classname> is shown below</para>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user