You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APIs in Kotlin which provides a more imperative style of programming.
86
87
The following Kotlin code samples will be provided with Coroutines APIs.
87
88
88
89
@@ -91,17 +92,17 @@ The following Kotlin code samples will be provided with Coroutines APIs.
91
92
== Programming Models
92
93
93
94
The `spring-web` module contains the reactive foundation that underlies Spring WebFlux,
94
-
including HTTP abstractions, Reactive Streams xref:web/webflux/reactive-spring.adoc#webflux-httphandler[adapters] for supported
95
+
including HTTP abstractions, Reactive Streams xref:reactive-spring.adoc#webflux-httphandler[adapters] for supported
95
96
servers, xref:web/webflux/reactive-spring.adoc#webflux-codecs[codecs], and a core xref:web/webflux/reactive-spring.adoc#webflux-web-handler-api[`WebHandler` API] comparable to
96
97
the Servlet API but with non-blocking contracts.
97
98
98
99
On that foundation, Spring WebFlux provides a choice of two programming models:
99
100
100
-
* xref:web/webflux/controller.adoc[Annotated Controllers]: Consistent with Spring MVC and based on the same annotations
101
+
* xref:controller.adoc[Annotated Controllers]: Consistent with Spring MVC and based on the same annotations
101
102
from the `spring-web` module. Both Spring MVC and WebFlux controllers support reactive
102
103
(Reactor and RxJava) return types, and, as a result, it is not easy to tell them apart. One notable
103
104
difference is that WebFlux also supports reactive `@RequestBody` arguments.
104
-
* xref:web/webflux-functional.adoc[Functional Endpoints]: Lambda-based, lightweight, and functional programming model. You can think of
105
+
* xref:../webflux-functional.adoc[Functional Endpoints]: Lambda-based, lightweight, and functional programming model. You can think of
105
106
this as a small library or a set of utilities that an application can use to route and
106
107
handle requests. The big difference with annotated controllers is that the application
107
108
is in charge of request handling from start to finish versus declaring intent through
0 commit comments