From 13ae5a759228bbb224d3e6d60228af5aaf1e3eeb Mon Sep 17 00:00:00 2001 From: verils Date: Wed, 5 Nov 2025 19:03:00 +0800 Subject: [PATCH] Add note on returning ResponseEntity for file content in documentation --- .../web/webflux/controller/ann-methods/responseentity.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/responseentity.adoc b/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/responseentity.adoc index 6831075da2a1..fd5b46277fa9 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/responseentity.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/responseentity.adoc @@ -33,6 +33,8 @@ Kotlin:: ---- ====== +A `ResponseEntity` can be returned for file content, as same as in Spring MVC, + WebFlux supports using a single value xref:web-reactive.adoc#webflux-reactive-libraries[reactive type] to produce the `ResponseEntity` asynchronously, and/or single and multi-value reactive types for the body. This allows a variety of async responses with `ResponseEntity` as follows: