From 8b2e1e1f39087204f19a349bbfecf1439bf39b89 Mon Sep 17 00:00:00 2001 From: addoDev Date: Tue, 13 May 2025 14:29:59 +0530 Subject: [PATCH] Update return-types.adoc Added WebAsyncTask return type to the table showing all the return types supported by the annotated Controller class's methods. Signed-off-by: addoDev --- .../web/webmvc/mvc-controller/ann-methods/return-types.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/return-types.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/return-types.adoc index 557de2db3ca2..b2478a15af5f 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/return-types.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/return-types.adoc @@ -77,6 +77,9 @@ supported for all return values. | Produce any of the above return values asynchronously in a Spring MVC-managed thread. See xref:web/webmvc/mvc-ann-async.adoc[Asynchronous Requests] and xref:web/webmvc/mvc-ann-async.adoc#mvc-ann-async-callable[`Callable`]. +| `WebAsyncTask` +| This is a holder for a `Callable` which allows you to set a custom asynchronous request timeout value and a custom `AsyncTaskExecutor` if you want the `Callable` to be executed by a different `AsyncTaskExecutor` than the one used by default by Spring MVC. + | `ListenableFuture`, `java.util.concurrent.CompletionStage`, `java.util.concurrent.CompletableFuture`