diff --git a/src/asciidoc/index.adoc b/src/asciidoc/index.adoc index 1241783419..d87a69564e 100644 --- a/src/asciidoc/index.adoc +++ b/src/asciidoc/index.adoc @@ -30298,6 +30298,11 @@ application shows a multi-action controller using `@RequestMapping`: } ---- +The above example does not specify GET vs. PUT, POST, and so forth, because +`@RequestMapping` maps all HTTP methods by default. Use `@RequestMapping(method=GET)` +to narrow the mapping. + + [[mvc-ann-requestmapping-proxying]] ===== ++@Controller++'s and AOP Proxying