Package com.atlassian.confluence.themes
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
ThemeContextInterceptor
public ThemeContextInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
initin interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
- Specified by:
interceptin interfaceorg.apache.struts2.interceptor.Interceptor- Throws:
Exception
-