Class ConfluenceStrutsPrepareFilter

  • All Implemented Interfaces:
    javax.servlet.Filter, org.apache.struts2.StrutsStatics

    public class ConfluenceStrutsPrepareFilter
    extends org.apache.struts2.dispatcher.filter.StrutsPrepareFilter
    A filter that modifies StrutsPrepareFilter to use the ConfluenceStrutsDispatcher bean.
    • Field Summary

      • Fields inherited from class org.apache.struts2.dispatcher.filter.StrutsPrepareFilter

        excludedPatterns, prepare, REQUEST_EXCLUDED_FROM_ACTION_MAPPING
      • Fields inherited from interface org.apache.struts2.StrutsStatics

        ACTION_MAPPING, HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
    • Constructor Detail

      • ConfluenceStrutsPrepareFilter

        public ConfluenceStrutsPrepareFilter()
    • Method Detail

      • createInitOperations

        protected org.apache.struts2.dispatcher.InitOperations createInitOperations()
        Overrides:
        createInitOperations in class org.apache.struts2.dispatcher.filter.StrutsPrepareFilter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest req,
                             javax.servlet.ServletResponse res,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        ActionContext may be needed by the SiteMeshFilter even when Struts filtering is not desired or required.
        Specified by:
        doFilter in interface javax.servlet.Filter
        Overrides:
        doFilter in class org.apache.struts2.dispatcher.filter.StrutsPrepareFilter
        Throws:
        IOException
        javax.servlet.ServletException