File tree Expand file tree Collapse file tree 3 files changed +1707
-2028
lines changed Expand file tree Collapse file tree 3 files changed +1707
-2028
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ In this example the methods returns a String to be written to the response body.
544
544
545
545
546
546
[[webflux-ann-controller]]
547
- === @Controller declaration
547
+ === @Controller
548
548
[.small]#<<web.adoc#mvc-ann-controller,Same in Spring MVC>>#
549
549
550
550
You can define controller beans using a standard Spring bean definition.
@@ -567,13 +567,10 @@ your Java configuration:
567
567
}
568
568
----
569
569
570
- [NOTE]
571
- ====
572
- `@RestController` is a composed annotation that is itself annotated with `@Controller` and
573
- `@ResponseBody` indicating a controller whose every method inherits the type-level
570
+ `@RestController` is a composed annotation that is itself annotated with
571
+ `@Controller` and `@ResponseBody` indicating a controller whose every method inherits the type-level
574
572
`@ResponseBody` annotation and therefore writes to the response body (vs model-and-vew
575
573
rendering).
576
- ====
577
574
578
575
579
576
[[webflux-ann-requestmapping]]
You can’t perform that action at this time.
0 commit comments