com.atlassian.confluence.core
Class CancellingInterceptor
java.lang.Object
com.atlassian.confluence.core.CancellingInterceptor
- All Implemented Interfaces:
- Interceptor
public class CancellingInterceptor
- extends Object
- implements 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()
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancellingInterceptor
public CancellingInterceptor()
intercept
public String intercept(ActionInvocation invocation)
throws Exception
- Specified by:
intercept
in interface Interceptor
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy
in interface Interceptor
init
public void init()
- Specified by:
init
in interface Interceptor