Package com.atlassian.confluence.core
Class CancellingInterceptor
java.lang.Object
com.atlassian.confluence.core.CancellingInterceptor
- All Implemented Interfaces:
Serializable
,org.apache.struts2.interceptor.Interceptor
public class CancellingInterceptor
extends Object
implements org.apache.struts2.interceptor.Interceptor
An interceptor that looks for a request parameter named 'cancel' in the request. If a non-null value is found,
this interceptor redirects to the result of
ConfluenceActionSupport.getCancelResult()
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CancellingInterceptor
public CancellingInterceptor()
-
-
Method Details
-
intercept
- Specified by:
intercept
in interfaceorg.apache.struts2.interceptor.Interceptor
- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
init
in interfaceorg.apache.struts2.interceptor.Interceptor
-