Skip to content

Add WebAsyncTask<V> to supported return types table in return-types.adoc #34884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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<V>`
| 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<V>`,
`java.util.concurrent.CompletionStage<V>`,
`java.util.concurrent.CompletableFuture<V>`
Expand Down