Class ThemeContextInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    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:
    Serialized Form
    • Constructor Detail

      • ThemeContextInterceptor

        public ThemeContextInterceptor()
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface com.opensymphony.xwork2.interceptor.Interceptor
      • init

        public void init()
        Specified by:
        init in interface com.opensymphony.xwork2.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