mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-05-02 12:03:41 +01:00
fce7b3d420
Undertow does not support Servlet 6.1, we need to remove compatibility tests as well as Undertow-specific classes for WebSocket and reactive support. Closes gh-35354
18 lines
860 B
Plaintext
18 lines
860 B
Plaintext
[[webflux]]
|
|
:chapter: webflux
|
|
[[spring-webflux]]
|
|
= Spring WebFlux
|
|
:page-section-summary-toc: 1
|
|
|
|
The original web framework included in the Spring Framework, Spring Web MVC, was
|
|
purpose-built for the Servlet API and Servlet containers. The reactive-stack web framework,
|
|
Spring WebFlux, was added later in version 5.0. It is fully non-blocking, supports
|
|
{reactive-streams-site}/[Reactive Streams] back pressure, and runs on such servers as
|
|
Netty, and Servlet containers.
|
|
|
|
Both web frameworks mirror the names of their source modules
|
|
({spring-framework-code}/spring-webmvc[spring-webmvc] and
|
|
{spring-framework-code}/spring-webflux[spring-webflux]) and co-exist side by side in the
|
|
Spring Framework. Each module is optional. Applications can use one or the other module or,
|
|
in some cases, both -- for example, Spring MVC controllers with the reactive `WebClient`.
|