Class AsyncAction

java.lang.Object
org.apache.struts2.async.AsyncAction
All Implemented Interfaces:
Callable

public class AsyncAction extends Object implements Callable
A Callable with a timeout value and an Executor.
Since:
6.0.0
  • Field Details

    • TIMEOUT

      public static final String TIMEOUT
      The action invocation was successful but did not return the result before timeout.
      See Also:
  • Constructor Details

    • AsyncAction

      public AsyncAction(Callable callable)
    • AsyncAction

      public AsyncAction(long timeout, Callable callable)
    • AsyncAction

      public AsyncAction(Executor executor, Callable callable)
    • AsyncAction

      public AsyncAction(long timeout, Executor executor, Callable callable)
  • Method Details