Skip to content

Commit 13ae5a7

Browse files
committed
Add note on returning ResponseEntity<Resource> for file content in documentation
1 parent e5fccd1 commit 13ae5a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/responseentity.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Kotlin::
3333
----
3434
======
3535

36+
A `ResponseEntity<Resource>` can be returned for file content, as same as in Spring MVC,
37+
3638
WebFlux supports using a single value xref:web-reactive.adoc#webflux-reactive-libraries[reactive type] to
3739
produce the `ResponseEntity` asynchronously, and/or single and multi-value reactive types
3840
for the body. This allows a variety of async responses with `ResponseEntity` as follows:

0 commit comments

Comments
 (0)