Add FragmentsRendering to documentation for return values

Closes gh-33162
This commit is contained in:
rstoyanchev 2024-07-10 16:50:12 +01:00
parent 65296c6aad
commit b93b7e013a
2 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,9 @@ Controllers can then return a `Flux<List<B>>`; Reactor provides a dedicated oper
| `Rendering`
| An API for model and view rendering scenarios.
| `FragmentsRendering`, `Flux<Fragment>`, `Collection<Fragment>`
| For rendering one or more fragments each with its own view and model.
| `void`
| A method with a `void`, possibly asynchronous (for example, `Mono<Void>`), return type (or a `null` return
value) is considered to have fully handled the response if it also has a `ServerHttpResponse`,

View File

@ -56,6 +56,9 @@ supported for all return values.
| `ModelAndView` object
| The view and model attributes to use and, optionally, a response status.
| `FragmentsRendering`, `Collection<ModelAndView>`
| For rendering one or more fragments each with its own view and model.
| `void`
| A method with a `void` return type (or `null` return value) is considered to have fully
handled the response if it also has a `ServletResponse`, an `OutputStream` argument, or