Class CancellingInterceptor

java.lang.Object
com.atlassian.confluence.core.CancellingInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable, org.apache.struts2.interceptor.Interceptor

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:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.Interceptor

    com.opensymphony.xwork2.interceptor.Interceptor.LegacyAdapter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    intercept(com.opensymphony.xwork2.ActionInvocation invocation)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.opensymphony.xwork2.interceptor.Interceptor

    intercept
  • Constructor Details

    • CancellingInterceptor

      public CancellingInterceptor()
  • Method Details

    • intercept

      public String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
      Specified by:
      intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
      Throws:
      Exception
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.struts2.interceptor.Interceptor
    • init

      public void init()
      Specified by:
      init in interface org.apache.struts2.interceptor.Interceptor