Skip to content

Commit b72d059

Browse files
authored
Update new-framework.adoc
- Corrected xref paths to point to the correct locations. Signed-off-by: Dhruv <[email protected]>
1 parent 6bbfd56 commit b72d059

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

framework-docs/modules/ROOT/pages/web/webflux/new-framework.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ Whenever feasible (for example, annotated controllers), WebFlux adapts transpare
8282
of RxJava or another reactive library. See xref:web-reactive.adoc#webflux-reactive-libraries[Reactive Libraries] for more details.
8383

8484
NOTE: In addition to Reactive APIs, WebFlux can also be used with
85-
xref:languages/kotlin/coroutines.adoc[Coroutines] APIs in Kotlin which provides a more imperative style of programming.
85+
xref:../../languages/kotlin/coroutines.adoc[Coroutines]
86+
APIs in Kotlin which provides a more imperative style of programming.
8687
The following Kotlin code samples will be provided with Coroutines APIs.
8788

8889

@@ -91,17 +92,17 @@ The following Kotlin code samples will be provided with Coroutines APIs.
9192
== Programming Models
9293

9394
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
9596
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
9697
the Servlet API but with non-blocking contracts.
9798

9899
On that foundation, Spring WebFlux provides a choice of two programming models:
99100

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
101102
from the `spring-web` module. Both Spring MVC and WebFlux controllers support reactive
102103
(Reactor and RxJava) return types, and, as a result, it is not easy to tell them apart. One notable
103104
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
105106
this as a small library or a set of utilities that an application can use to route and
106107
handle requests. The big difference with annotated controllers is that the application
107108
is in charge of request handling from start to finish versus declaring intent through

0 commit comments

Comments
 (0)