Skip to content

Commit d4677be

Browse files
committed
Improve Web Servlet section structure
1 parent 9998c63 commit d4677be

File tree

3 files changed

+1707
-2028
lines changed

3 files changed

+1707
-2028
lines changed

src/docs/asciidoc/web/webflux.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ In this example the methods returns a String to be written to the response body.
544544

545545

546546
[[webflux-ann-controller]]
547-
=== @Controller declaration
547+
=== @Controller
548548
[.small]#<<web.adoc#mvc-ann-controller,Same in Spring MVC>>#
549549

550550
You can define controller beans using a standard Spring bean definition.
@@ -567,13 +567,10 @@ your Java configuration:
567567
}
568568
----
569569

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
574572
`@ResponseBody` annotation and therefore writes to the response body (vs model-and-vew
575573
rendering).
576-
====
577574

578575

579576
[[webflux-ann-requestmapping]]

0 commit comments

Comments
 (0)