com.atlassian.confluence.core
Class CancellingInterceptor

java.lang.Object
  extended by com.atlassian.confluence.core.CancellingInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class CancellingInterceptor
extends java.lang.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 Summary
CancellingInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancellingInterceptor

public CancellingInterceptor()
Method Detail

intercept

public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
                           throws java.lang.Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Throws:
java.lang.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-2014 Atlassian. All Rights Reserved.