Interface FilterPipeline

  • All Known Implementing Classes:
    DefaultFilterPipeline, ManagedFilterPipeline

    interface FilterPipeline
    An internal dispatcher for guice-servlet registered servlets and filters. By default, we assume a Guice 1.0 style servlet module is in play. In other words, we dispatch directly to the web.xml pipeline after setting up scopes.

    If on the other hand, ServletModule is used to register managed servlets and/or filters, then a different pipeline is bound instead. Which, after dispatching to Guice-injected filters and servlets continues to the web.xml pipeline (if necessary).

    • Method Detail

      • initPipeline

        void initPipeline​(javax.servlet.ServletContext context)
                   throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • destroyPipeline

        void destroyPipeline()
      • dispatch

        void dispatch​(javax.servlet.ServletRequest request,
                      javax.servlet.ServletResponse response,
                      javax.servlet.FilterChain defaultFilterChain)
               throws java.io.IOException,
                      javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException