Class HttpServletDispatcher

    • Constructor Detail

      • HttpServletDispatcher

        public HttpServletDispatcher()
    • Method Detail

      • getDispatcher

        public Dispatcher getDispatcher()
      • init

        public void init​(jakarta.servlet.ServletConfig servletConfig)
                  throws jakarta.servlet.ServletException
        Specified by:
        init in interface jakarta.servlet.Servlet
        Overrides:
        init in class jakarta.servlet.GenericServlet
        Throws:
        jakarta.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface jakarta.servlet.Servlet
        Overrides:
        destroy in class jakarta.servlet.GenericServlet
      • service

        protected void service​(jakarta.servlet.http.HttpServletRequest httpServletRequest,
                               jakarta.servlet.http.HttpServletResponse httpServletResponse)
                        throws jakarta.servlet.ServletException,
                               IOException
        Overrides:
        service in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • service

        public void service​(String httpMethod,
                            jakarta.servlet.http.HttpServletRequest request,
                            jakarta.servlet.http.HttpServletResponse response)
                     throws IOException
        Throws:
        IOException
      • createServletResponse

        protected HttpResponse createServletResponse​(jakarta.servlet.http.HttpServletResponse response,
                                                     jakarta.servlet.http.HttpServletRequest request)