Skip to content

Commit 6894f56

Browse files
committed
Merge branch '2.7.x'
Closes gh-31382
2 parents b1ea82c + ab67136 commit 6894f56

File tree

1 file changed

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

1 file changed

+0
-16
lines changed

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

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

3232

33-
"`WebFlux.fn`", the functional variant, separates the routing configuration from the actual handling of the requests, as shown in the following example:
34-
35-
include::code:MyRoutingConfiguration[]
36-
37-
include::code:MyUserHandler[]
38-
39-
WebFlux is part of the Spring Framework and detailed information is available in its {spring-framework-docs}/web-reactive.html#webflux-fn[reference documentation].
40-
41-
TIP: You can define as many `RouterFunction` beans as you like to modularize the definition of the router.
42-
Beans can be ordered if you need to apply a precedence.
43-
44-
To get started, add the `spring-boot-starter-webflux` module to your application.
45-
46-
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.
47-
This behavior has been chosen because many Spring developers add `spring-boot-starter-webflux` to their Spring MVC application to use the reactive `WebClient`.
48-
You can still enforce your choice by setting the chosen application type to `SpringApplication.setWebApplicationType(WebApplicationType.REACTIVE)`.
4933

5034
[[web.reactive.webflux.auto-configuration]]
5135
==== Spring WebFlux Auto-configuration

0 commit comments

Comments
 (0)