Fix broken links in the web reference documentation
Closes gh-34115
This commit is contained in:
parent
99cb6ba0a7
commit
ebae02a92b
|
@ -193,7 +193,7 @@ Kotlin::
|
||||||
[[webtestclient-fn-config]]
|
[[webtestclient-fn-config]]
|
||||||
=== Bind to Router Function
|
=== Bind to Router Function
|
||||||
|
|
||||||
This setup allows you to test <<web-reactive.adoc#webflux-fn, functional endpoints>> via
|
This setup allows you to test xref:web/webflux-functional.adoc[functional endpoints] via
|
||||||
mock request and response objects, without a running server.
|
mock request and response objects, without a running server.
|
||||||
|
|
||||||
For WebFlux, use the following which delegates to `RouterFunctions.toWebHandler` to
|
For WebFlux, use the following which delegates to `RouterFunctions.toWebHandler` to
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[[webflux-cors]]
|
[[webflux-cors]]
|
||||||
= CORS
|
= CORS
|
||||||
|
|
||||||
[.small]#xref:web/webmvc-cors.adoc[See equivalent in the Servlet stack]#
|
[.small]#xref:web/webmvc-cors.adoc[See equivalent in the Servlet stack]#
|
||||||
|
|
||||||
Spring WebFlux lets you handle CORS (Cross-Origin Resource Sharing). This section
|
Spring WebFlux lets you handle CORS (Cross-Origin Resource Sharing). This section
|
||||||
|
@ -364,7 +365,7 @@ Kotlin::
|
||||||
|
|
||||||
You can apply CORS support through the built-in
|
You can apply CORS support through the built-in
|
||||||
{spring-framework-api}/web/cors/reactive/CorsWebFilter.html[`CorsWebFilter`], which is a
|
{spring-framework-api}/web/cors/reactive/CorsWebFilter.html[`CorsWebFilter`], which is a
|
||||||
good fit with <<webflux-fn, functional endpoints>>.
|
good fit with xref:web/webflux-functional.adoc[functional endpoints].
|
||||||
|
|
||||||
NOTE: If you try to use the `CorsFilter` with Spring Security, keep in mind that Spring
|
NOTE: If you try to use the `CorsFilter` with Spring Security, keep in mind that Spring
|
||||||
Security has {docs-spring-security}/servlet/integrations/cors.html[built-in support] for
|
Security has {docs-spring-security}/servlet/integrations/cors.html[built-in support] for
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[[webflux-fn]]
|
[[webflux-fn]]
|
||||||
= Functional Endpoints
|
= Functional Endpoints
|
||||||
|
|
||||||
[.small]#xref:web/webmvc-functional.adoc[See equivalent in the Servlet stack]#
|
[.small]#xref:web/webmvc-functional.adoc[See equivalent in the Servlet stack]#
|
||||||
|
|
||||||
Spring WebFlux includes WebFlux.fn, a lightweight functional programming model in which functions
|
Spring WebFlux includes WebFlux.fn, a lightweight functional programming model in which functions
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[[webflux-websocket]]
|
[[webflux-websocket]]
|
||||||
= WebSockets
|
= WebSockets
|
||||||
|
|
||||||
[.small]#xref:web/websocket.adoc[See equivalent in the Servlet stack]#
|
[.small]#xref:web/websocket.adoc[See equivalent in the Servlet stack]#
|
||||||
|
|
||||||
This part of the reference documentation covers support for reactive-stack WebSocket
|
This part of the reference documentation covers support for reactive-stack WebSocket
|
||||||
|
|
|
@ -101,7 +101,7 @@ On that foundation, Spring WebFlux provides a choice of two programming models:
|
||||||
from the `spring-web` module. Both Spring MVC and WebFlux controllers support reactive
|
from the `spring-web` module. Both Spring MVC and WebFlux controllers support reactive
|
||||||
(Reactor and RxJava) return types, and, as a result, it is not easy to tell them apart. One notable
|
(Reactor and RxJava) return types, and, as a result, it is not easy to tell them apart. One notable
|
||||||
difference is that WebFlux also supports reactive `@RequestBody` arguments.
|
difference is that WebFlux also supports reactive `@RequestBody` arguments.
|
||||||
* <<webflux-fn>>: Lambda-based, lightweight, and functional programming model. You can think of
|
* xref:web/webflux-functional.adoc[Functional Endpoints]: Lambda-based, lightweight, and functional programming model. You can think of
|
||||||
this as a small library or a set of utilities that an application can use to route and
|
this as a small library or a set of utilities that an application can use to route and
|
||||||
handle requests. The big difference with annotated controllers is that the application
|
handle requests. The big difference with annotated controllers is that the application
|
||||||
is in charge of request handling from start to finish versus declaring intent through
|
is in charge of request handling from start to finish versus declaring intent through
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[[mvc-cors]]
|
[[mvc-cors]]
|
||||||
= CORS
|
= CORS
|
||||||
|
|
||||||
[.small]#xref:web/webflux-cors.adoc[See equivalent in the Reactive stack]#
|
[.small]#xref:web/webflux-cors.adoc[See equivalent in the Reactive stack]#
|
||||||
|
|
||||||
Spring MVC lets you handle CORS (Cross-Origin Resource Sharing). This section
|
Spring MVC lets you handle CORS (Cross-Origin Resource Sharing). This section
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[[webmvc-fn]]
|
[[webmvc-fn]]
|
||||||
= Functional Endpoints
|
= Functional Endpoints
|
||||||
[.small]#<<web-reactive.adoc#webflux-fn, See equivalent in the Reactive stack>>#
|
|
||||||
|
[.small]#xref:web/webflux-functional.adoc[See equivalent in the Reactive stack]#
|
||||||
|
|
||||||
Spring Web MVC includes WebMvc.fn, a lightweight functional programming model in which functions
|
Spring Web MVC includes WebMvc.fn, a lightweight functional programming model in which functions
|
||||||
are used to route and handle requests and contracts are designed for immutability.
|
are used to route and handle requests and contracts are designed for immutability.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[[websocket]]
|
[[websocket]]
|
||||||
= WebSockets
|
= WebSockets
|
||||||
:page-section-summary-toc: 1
|
:page-section-summary-toc: 1
|
||||||
|
|
||||||
[.small]#xref:web/webflux-websocket.adoc[See equivalent in the Reactive stack]#
|
[.small]#xref:web/webflux-websocket.adoc[See equivalent in the Reactive stack]#
|
||||||
|
|
||||||
This part of the reference documentation covers support for Servlet stack, WebSocket
|
This part of the reference documentation covers support for Servlet stack, WebSocket
|
||||||
|
|
Loading…
Reference in New Issue