Spring Framework
  1. Spring Framework
  2. SPR-9399 Add Servlet 3 async support related config options
  3. SPR-9695

Add options to override the default timeout value and task executor for an individual async request

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 3.2 M1
    • Fix Version/s: 3.2 M2
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Activity

      Hide
      Rossen Stoyanchev added a comment - - edited

      Controller methods returning DeferredResult can now specify a timeout value through a constructor argument.

      Controller methods returning a Callable can wrap the Callable with an instance of AsyncTask along with a timeout and a task executor and return it instead of the Callable.

      Show
      Rossen Stoyanchev added a comment - - edited Controller methods returning DeferredResult can now specify a timeout value through a constructor argument. Controller methods returning a Callable can wrap the Callable with an instance of AsyncTask along with a timeout and a task executor and return it instead of the Callable.

        People

        • Assignee:
          Rossen Stoyanchev
          Reporter:
          Rossen Stoyanchev
          Last updater:
          Rossen Stoyanchev
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:
            Days since last comment:
            1 year, 35 weeks, 4 days ago