Skip to content

Commit ebae02a

Browse files
ngocnhan-tran1996sdeleuze
authored andcommitted
Fix broken links in the web reference documentation
Closes gh-34115
1 parent 99cb6ba commit ebae02a

8 files changed

+10
-4
lines changed

framework-docs/modules/ROOT/pages/testing/webtestclient.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Kotlin::
193193
[[webtestclient-fn-config]]
194194
=== Bind to Router Function
195195

196-
This setup allows you to test <<web-reactive.adoc#webflux-fn, functional endpoints>> via
196+
This setup allows you to test xref:web/webflux-functional.adoc[functional endpoints] via
197197
mock request and response objects, without a running server.
198198

199199
For WebFlux, use the following which delegates to `RouterFunctions.toWebHandler` to

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[webflux-cors]]
22
= CORS
3+
34
[.small]#xref:web/webmvc-cors.adoc[See equivalent in the Servlet stack]#
45

56
Spring WebFlux lets you handle CORS (Cross-Origin Resource Sharing). This section
@@ -364,7 +365,7 @@ Kotlin::
364365

365366
You can apply CORS support through the built-in
366367
{spring-framework-api}/web/cors/reactive/CorsWebFilter.html[`CorsWebFilter`], which is a
367-
good fit with <<webflux-fn, functional endpoints>>.
368+
good fit with xref:web/webflux-functional.adoc[functional endpoints].
368369

369370
NOTE: If you try to use the `CorsFilter` with Spring Security, keep in mind that Spring
370371
Security has {docs-spring-security}/servlet/integrations/cors.html[built-in support] for

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

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[webflux-fn]]
22
= Functional Endpoints
3+
34
[.small]#xref:web/webmvc-functional.adoc[See equivalent in the Servlet stack]#
45

56
Spring WebFlux includes WebFlux.fn, a lightweight functional programming model in which functions

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

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[webflux-websocket]]
22
= WebSockets
3+
34
[.small]#xref:web/websocket.adoc[See equivalent in the Servlet stack]#
45

56
This part of the reference documentation covers support for reactive-stack WebSocket

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ On that foundation, Spring WebFlux provides a choice of two programming models:
101101
from the `spring-web` module. Both Spring MVC and WebFlux controllers support reactive
102102
(Reactor and RxJava) return types, and, as a result, it is not easy to tell them apart. One notable
103103
difference is that WebFlux also supports reactive `@RequestBody` arguments.
104-
* <<webflux-fn>>: Lambda-based, lightweight, and functional programming model. You can think of
104+
* xref:web/webflux-functional.adoc[Functional Endpoints]: Lambda-based, lightweight, and functional programming model. You can think of
105105
this as a small library or a set of utilities that an application can use to route and
106106
handle requests. The big difference with annotated controllers is that the application
107107
is in charge of request handling from start to finish versus declaring intent through

framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[mvc-cors]]
22
= CORS
3+
34
[.small]#xref:web/webflux-cors.adoc[See equivalent in the Reactive stack]#
45

56
Spring MVC lets you handle CORS (Cross-Origin Resource Sharing). This section

framework-docs/modules/ROOT/pages/web/webmvc-functional.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[[webmvc-fn]]
22
= Functional Endpoints
3-
[.small]#<<web-reactive.adoc#webflux-fn, See equivalent in the Reactive stack>>#
3+
4+
[.small]#xref:web/webflux-functional.adoc[See equivalent in the Reactive stack]#
45

56
Spring Web MVC includes WebMvc.fn, a lightweight functional programming model in which functions
67
are used to route and handle requests and contracts are designed for immutability.

framework-docs/modules/ROOT/pages/web/websocket.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[[websocket]]
22
= WebSockets
33
:page-section-summary-toc: 1
4+
45
[.small]#xref:web/webflux-websocket.adoc[See equivalent in the Reactive stack]#
56

67
This part of the reference documentation covers support for Servlet stack, WebSocket

0 commit comments

Comments
 (0)