Class ServletContextDispatcher

java.lang.Object
org.gatein.wci.ServletContextDispatcher

public class ServletContextDispatcher extends Object
Encapsulate dispatch functionnality into a single class so it is easy to pass it as an argment to a framework that needs a dispatcher to just a servlet context and does not care about the underlying spi or request/response.
  • Constructor Details

    • ServletContextDispatcher

      public ServletContextDispatcher(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ServletContainer servletContainer)
  • Method Details

    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
    • include

      public Object include(jakarta.servlet.ServletContext targetServletContext, RequestDispatchCallback callback, Object handback) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException