@ -816,10 +816,10 @@ your Java configuration:
@@ -816,10 +816,10 @@ your Java configuration:
}
----
`@RestController` is a composed annotation that is itself annotated with
`@Controller` and `@ResponseBody` indicating a controller whose every method inherits the type-level
`@ResponseBody` annotation and therefore writes to the response body (vs model-and-vew
rendering).
`@RestController` is a <<core.adoc#beans-meta-annotations,composed annotation>> that is
itself meta-annotated with `@Controller` and `@ResponseBody` indicating a controller whose
every method inherits the type-level `@ResponseBody` annotation and therefore writes
directly to the response body vs view resolution and rendering with an HTML template.
@ -840,10 +840,12 @@ There are also HTTP method specific shortcut variants of `@RequestMapping`:
@@ -840,10 +840,12 @@ There are also HTTP method specific shortcut variants of `@RequestMapping`:
@ -1062,10 +1062,10 @@ The XML configuration equivalent:
@@ -1062,10 +1062,10 @@ The XML configuration equivalent:
</beans>
----
`@RestController` is a composed annotation that is itself annotated with
`@Controller` and `@ResponseBody` indicating a controller whose every method inherits the type-level
`@ResponseBody` annotation and therefore writes to the response body (vs model-and-vew
rendering).
`@RestController` is a <<core.adoc#beans-meta-annotations,composed annotation>> that is
itself meta-annotated with `@Controller` and `@ResponseBody` indicating a controller whose
every method inherits the type-level `@ResponseBody` annotation and therefore writes
directly to the response body vs view resolution and rendering with an HTML template.
[[mvc-ann-requestmapping-proxying]]
@ -1099,10 +1099,12 @@ There are also HTTP method specific shortcut variants of `@RequestMapping`:
@@ -1099,10 +1099,12 @@ There are also HTTP method specific shortcut variants of `@RequestMapping`: