Class ExecAndWaitWithJSONStatusUpdateInterceptor
- java.lang.Object
-
- 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.Interceptor,Serializable
public class ExecAndWaitWithJSONStatusUpdateInterceptor extends org.apache.struts2.interceptor.ExecuteAndWaitInterceptorAllows ajax status requests when using the ExecAndWaitInterceptor for long running tasks.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecAndWaitWithJSONStatusUpdateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringintercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)-
Methods inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
doIntercept, getBackgroundProcessName, getNewBackgroundProcess, performInitialDelay, setContainer, setDelay, setDelaySleepInterval, setExecuteAfterValidationPass, setThreadPriority
-
-
-
-
Method Detail
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Overrides:
interceptin classcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor- Throws:
Exception
-
-