Class Dispatcher


  • public final class Dispatcher
    extends Object
    • Constructor Detail

    • Method Detail

      • setWhiteboardManager

        public void setWhiteboardManager​(@Nullable
                                         @Nullable WhiteboardManager service)
        Set or unset the whiteboard manager.
        Parameters:
        service - The whiteboard manager or null
      • dispatch

        public void dispatch​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res)
                      throws javax.servlet.ServletException,
                             IOException
        Responsible for dispatching a given request to the actual applicable servlet and/or filters in the local registry.
        Parameters:
        req - the ServletRequest to dispatch;
        res - the ServletResponse to dispatch.
        Throws:
        javax.servlet.ServletException - in case of exceptions during the actual dispatching;
        IOException - in case of I/O problems.