Package com.atlassian.confluence.core
Class CancellingInterceptor
- java.lang.Object
-
- com.atlassian.confluence.core.CancellingInterceptor
-
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor,Serializable
public class CancellingInterceptor extends Object implements com.opensymphony.xwork2.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancellingInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidinit()Stringintercept(com.opensymphony.xwork2.ActionInvocation invocation)
-
-
-
Method Detail
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Throws:
Exception
-
destroy
public void destroy()
- Specified by:
destroyin interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
init
public void init()
- Specified by:
initin interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
-