Skip to content

Commit 2094722

Browse files
committed
Remove duplicate content from "The Spring WebFlux Framework"
Closes gh-31378
1 parent 5d7cab0 commit 2094722

File tree

1 file changed

+0
-22
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/web

1 file changed

+0
-22
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/reactive.adoc

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,6 @@ This behavior has been chosen because many Spring developers add `spring-boot-st
3939
You can still enforce your choice by setting the chosen application type to `SpringApplication.setWebApplicationType(WebApplicationType.REACTIVE)`.
4040

4141

42-
"`WebFlux.fn`", the functional variant, separates the routing configuration from the actual handling of the requests, as shown in the following example:
43-
44-
[source,java,indent=0,subs="verbatim"]
45-
----
46-
include::{docs-java}/web/reactive/webflux/MyRoutingConfiguration.java[]
47-
----
48-
49-
[source,java,indent=0,subs="verbatim"]
50-
----
51-
include::{docs-java}/web/reactive/webflux/MyUserHandler.java[]
52-
----
53-
54-
WebFlux is part of the Spring Framework and detailed information is available in its {spring-framework-docs}/web-reactive.html#webflux-fn[reference documentation].
55-
56-
TIP: You can define as many `RouterFunction` beans as you like to modularize the definition of the router.
57-
Beans can be ordered if you need to apply a precedence.
58-
59-
To get started, add the `spring-boot-starter-webflux` module to your application.
60-
61-
NOTE: Adding both `spring-boot-starter-web` and `spring-boot-starter-webflux` modules in your application results in Spring Boot auto-configuring Spring MVC, not WebFlux.
62-
This behavior has been chosen because many Spring developers add `spring-boot-starter-webflux` to their Spring MVC application to use the reactive `WebClient`.
63-
You can still enforce your choice by setting the chosen application type to `SpringApplication.setWebApplicationType(WebApplicationType.REACTIVE)`.
6442

6543
[[web.reactive.webflux.auto-configuration]]
6644
==== Spring WebFlux Auto-configuration

0 commit comments

Comments
 (0)