Skip to content

Support suspending handler methods in Spring MVC #23611

@sdeleuze

Description

@sdeleuze

Following Coroutines support introduced in Spring WebFlux and since Spring MVC supports Mono via the ReactiveAdapterRegistry, it would probably makes sense to support Coroutines (suspending handler methods) in Spring MVC.

It will require similar handling than in WebFlux side + disabling the check introduced via #23585.

Good candidate for Spring Framework 5.3.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions