Class ExecAndWaitWithJSONStatusUpdateInterceptor
java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.MethodFilterInterceptor
org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
com.atlassian.bamboo.ww2.interceptors.ExecAndWaitWithJSONStatusUpdateInterceptor
- All Implemented Interfaces:
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:
-
Field Summary
Fields inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
delay, delaySleepInterval, executeAfterValidationPass, KEY, WAITFields inherited from class org.apache.struts2.interceptor.MethodFilterInterceptor
excludeMethods, includeMethods -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.struts2.interceptor.ExecuteAndWaitInterceptor
destroy, doIntercept, getBackgroundProcessName, getNewBackgroundProcess, init, performInitialDelay, setContainer, setDelay, setDelaySleepInterval, setExecuteAfterValidationPass, setExecutorProvider, setThreadPriorityMethods inherited from class org.apache.struts2.interceptor.MethodFilterInterceptor
applyInterceptor, getExcludeMethodsSet, getIncludeMethodsSet, setExcludeMethods, setIncludeMethodsMethods inherited from class org.apache.struts2.interceptor.AbstractInterceptor
setDisabled, shouldIntercept
-
Constructor Details
-
ExecAndWaitWithJSONStatusUpdateInterceptor
public ExecAndWaitWithJSONStatusUpdateInterceptor()
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceorg.apache.struts2.interceptor.Interceptor- Overrides:
interceptin classorg.apache.struts2.interceptor.MethodFilterInterceptor- Throws:
Exception
-