From e62bb56afce1a3ded100154c820c6f230d0b906d Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 12 May 2009 08:47:36 +0000 Subject: [PATCH] SPR-5725: Typos in Spring REST documentation git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1156 50f2f4bb-b051-0410-bef5-90022cba6387 --- spring-framework-reference/src/rest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-framework-reference/src/rest.xml b/spring-framework-reference/src/rest.xml index a2fec76face..81e64f0e8e1 100644 --- a/spring-framework-reference/src/rest.xml +++ b/spring-framework-reference/src/rest.xml @@ -182,7 +182,7 @@ public void handle(@RequestBody String body, Writer writer) throws IOException { The conversion of the request body to the method argument is done using a HttpMessageConverter. HttpMessageConverter is responsible for - converting for converting from the HTTP request message to an object + converting from the HTTP request message to an object and converting from an object to the HTTP response body. DispatcherServlet supports annotation based processing using the @@ -599,7 +599,7 @@ public String deletePet(@PathVariable int ownerId, @PathVariable int petId) {
Exception Handling - The @ExceptionHandling method annotation is + The @ExceptionHandler method annotation is used within a controller to specify which method will be invoked when an exception of a specific type is thrown during the execution of controller methods. For example