com.atlassian.confluence.core
Class CancellingInterceptor
java.lang.Object
com.atlassian.confluence.core.CancellingInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor
public class CancellingInterceptor
- extends Object
- implements com.opensymphony.xwork.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()
.
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(com.opensymphony.xwork.ActionInvocation invocation)
throws Exception
- Specified by:
intercept
in interface com.opensymphony.xwork.interceptor.Interceptor
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy
in interface com.opensymphony.xwork.interceptor.Interceptor
init
public void init()
- Specified by:
init
in interface com.opensymphony.xwork.interceptor.Interceptor
Copyright © 2003-2012 Atlassian. All Rights Reserved.