Class ExecAndWaitWithJSONStatusUpdateInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class ExecAndWaitWithJSONStatusUpdateInterceptor
    extends org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
    Allows ajax status requests when using the ExecAndWaitInterceptor for long running tasks.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor

        delay, delaySleepInterval, executeAfterValidationPass, KEY, WAIT
      • Fields inherited from class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor

        excludeMethods, includeMethods
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String intercept​(com.opensymphony.xwork2.ActionInvocation actionInvocation)  
      • Methods inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor

        doIntercept, getBackgroundProcessName, getNewBackgroundProcess, performInitialDelay, setContainer, setDelay, setDelaySleepInterval, setExecuteAfterValidationPass, setThreadPriority
      • Methods inherited from class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor

        applyInterceptor, getExcludeMethodsSet, getIncludeMethodsSet, setExcludeMethods, setIncludeMethods
      • Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor

        destroy, init
    • Constructor Detail

      • ExecAndWaitWithJSONStatusUpdateInterceptor

        public ExecAndWaitWithJSONStatusUpdateInterceptor()
    • Method Detail

      • intercept

        public String intercept​(com.opensymphony.xwork2.ActionInvocation actionInvocation)
                         throws Exception
        Specified by:
        intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
        Overrides:
        intercept in class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor
        Throws:
        Exception