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()
.
Constructor and Description |
---|
CancellingInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init() |
String |
intercept(com.opensymphony.xwork.ActionInvocation invocation) |
public String intercept(com.opensymphony.xwork.ActionInvocation invocation) throws Exception
intercept
in interface com.opensymphony.xwork.interceptor.Interceptor
Exception
public void destroy()
destroy
in interface com.opensymphony.xwork.interceptor.Interceptor
public void init()
init
in interface com.opensymphony.xwork.interceptor.Interceptor
Copyright © 2003–2017 Atlassian. All rights reserved.