Skip to content

Commit b93b7e0

Browse files
committed
Add FragmentsRendering to documentation for return values
Closes gh-33162
1 parent 65296c6 commit b93b7e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Controllers can then return a `Flux<List<B>>`; Reactor provides a dedicated oper
6868
| `Rendering`
6969
| An API for model and view rendering scenarios.
7070

71+
| `FragmentsRendering`, `Flux<Fragment>`, `Collection<Fragment>`
72+
| For rendering one or more fragments each with its own view and model.
73+
7174
| `void`
7275
| A method with a `void`, possibly asynchronous (for example, `Mono<Void>`), return type (or a `null` return
7376
value) is considered to have fully handled the response if it also has a `ServerHttpResponse`,

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/return-types.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ supported for all return values.
5656
| `ModelAndView` object
5757
| The view and model attributes to use and, optionally, a response status.
5858

59+
| `FragmentsRendering`, `Collection<ModelAndView>`
60+
| For rendering one or more fragments each with its own view and model.
61+
5962
| `void`
6063
| A method with a `void` return type (or `null` return value) is considered to have fully
6164
handled the response if it also has a `ServletResponse`, an `OutputStream` argument, or

0 commit comments

Comments
 (0)