Class FreemarkerPageFilter

java.lang.Object
com.opensymphony.sitemesh.webapp.SiteMeshFilter
org.apache.struts2.sitemesh.FreemarkerPageFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class FreemarkerPageFilter extends com.opensymphony.sitemesh.webapp.SiteMeshFilter
Core Filter for integrating SiteMesh + Freemarker into a Java web application.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(jakarta.servlet.FilterConfig filterConfig)
     
    protected com.opensymphony.sitemesh.DecoratorSelector
    initDecoratorSelector(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)
     
    static void
    setFreemarkerManager(org.apache.struts2.views.freemarker.FreemarkerManager mgr)
     

    Methods inherited from class com.opensymphony.sitemesh.webapp.SiteMeshFilter

    destroy, doFilter, initContentProcessor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FreemarkerPageFilter

      public FreemarkerPageFilter()
  • Method Details

    • setFreemarkerManager

      public static void setFreemarkerManager(org.apache.struts2.views.freemarker.FreemarkerManager mgr)
    • init

      public void init(jakarta.servlet.FilterConfig filterConfig)
      Specified by:
      init in interface jakarta.servlet.Filter
      Overrides:
      init in class com.opensymphony.sitemesh.webapp.SiteMeshFilter
    • initDecoratorSelector

      protected com.opensymphony.sitemesh.DecoratorSelector initDecoratorSelector(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)
      Overrides:
      initDecoratorSelector in class com.opensymphony.sitemesh.webapp.SiteMeshFilter