Class ExecAndWaitWithJSONStatusUpdateInterceptor

java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
com.opensymphony.xwork2.interceptor.AbstractInterceptor
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor
org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
com.atlassian.bamboo.ww2.interceptors.ExecAndWaitWithJSONStatusUpdateInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.ConditionalInterceptor, com.opensymphony.xwork2.interceptor.Interceptor, Serializable, org.apache.struts2.interceptor.ConditionalInterceptor, org.apache.struts2.interceptor.Interceptor

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

    Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.ConditionalInterceptor

    com.opensymphony.xwork2.interceptor.ConditionalInterceptor.LegacyAdapter
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    intercept(org.apache.struts2.ActionInvocation actionInvocation)
     

    Methods inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor

    destroy, doIntercept, getBackgroundProcessName, getNewBackgroundProcess, init, performInitialDelay, setContainer, setDelay, setDelaySleepInterval, setExecuteAfterValidationPass, setExecutorProvider, setThreadPriority

    Methods inherited from class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor

    applyInterceptor, getExcludeMethodsSet, getIncludeMethodsSet, intercept, setExcludeMethods, setIncludeMethods

    Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor

    shouldIntercept, shouldIntercept

    Methods inherited from class org.apache.struts2.interceptor.AbstractInterceptor

    setDisabled

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExecAndWaitWithJSONStatusUpdateInterceptor

      public ExecAndWaitWithJSONStatusUpdateInterceptor()
  • Method Details

    • intercept

      public String intercept(org.apache.struts2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
      Specified by:
      intercept in interface org.apache.struts2.interceptor.Interceptor
      Overrides:
      intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
      Throws:
      Exception