Class ThemeContextInterceptor

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

public class ThemeContextInterceptor extends Object implements com.opensymphony.xwork2.interceptor.Interceptor
Interceptor to put information in the Http Request object that can be used by the themeing subsystem to determine which theme to apply to the request. This interceptor should be run after any parameter- space- or page-setting interceptor (i.e. PageAwareInterceptor and its kin) to make sure that enough information is on the action to service the request.
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 actionInvocation)
     

    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

    • ThemeContextInterceptor

      public ThemeContextInterceptor()
  • Method Details

    • 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
    • intercept

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