diff --git a/docs/src/reference/docbook/http.xml b/docs/src/reference/docbook/http.xml index e25a5671e3..621b1f6224 100644 --- a/docs/src/reference/docbook/http.xml +++ b/docs/src/reference/docbook/http.xml @@ -18,7 +18,7 @@ support the HTTP inbound adapters need to be deployed within a servlet container. The easiest way to do this is to provide a servlet definition in web.xml, see for further details. Below is an example bean definition for a simple HTTP inbound endpoint. - + ]]> @@ -51,7 +51,7 @@ configured to serve as a Spring MVC Controller with a view name. Because of the constructor arg value of TRUE, it wait for a reply. This also shows how to customize the HTTP methods accepted by the gateway, which are POST and GET by default. - + @@ -75,14 +75,14 @@ To configure the HttpRequestExecutingMessageHandler write a bean definition like this: - + ]]> This bean definition will execute HTTP requests by delegating to a RestTemplate. That template in turn delegates to a list of HttpMessageConverters to generate the HTTP request body from the Message payload. You can configure those converters as well as the ClientHttpRequestFactory instance to use: - + @@ -176,7 +176,7 @@ On the server side we have the following configuration: - + The 'httpInboundAdapter' will receive the request, convert it to a Message with a payload asĀ LinkedMultiValueMap which we are parsing in the 'multipartReceiver' service-activator; - multipartRequest){ - System.out.println("### Successfully recieved multipart request ###"); + multipartRequest){ + System.out.println("### Successfully received multipart request ###"); for (String elementName : multipartRequest.keySet()) { if (elementName.equals("company")){ System.out.println("\t" + elementName + " - " + @@ -201,7 +201,7 @@ we are parsing in the 'multipartReceiver' service-activator; ]]> You should see the following output: -