Class ThemeContextInterceptor

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

public class ThemeContextInterceptor extends Object implements org.apache.struts2.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:
  • 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(org.apache.struts2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface org.apache.struts2.interceptor.Interceptor
      Throws:
      Exception