@ -544,7 +544,7 @@ In this example the methods returns a String to be written to the response body.
@@ -544,7 +544,7 @@ In this example the methods returns a String to be written to the response body.
[[webflux-ann-controller]]
=== @Controller declaration
=== @Controller
[.small]#<<web.adoc#mvc-ann-controller,Same in Spring MVC>>#
You can define controller beans using a standard Spring bean definition.
@ -567,13 +567,10 @@ your Java configuration:
@@ -567,13 +567,10 @@ your Java configuration:
}
----
[NOTE]
====
`@RestController` is a composed annotation that is itself annotated with `@Controller` and
`@ResponseBody` indicating a controller whose every method inherits the type-level
`@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
@ -48,7 +48,7 @@ and also provides additional value-add as explained in the rest of the introduct
@@ -48,7 +48,7 @@ and also provides additional value-add as explained in the rest of the introduct
[[websocket-into-fallback-options]]
=== WebSocket Fallback Options
=== Fallback Options
An important challenge to adoption is the lack of support for WebSocket in some
browsers. Notably the first Internet Explorer version to support WebSocket is
version 10 (see http://caniuse.com/websockets for support by browser versions).