Package javax.servlet

Class ServletRequestEvent

    • Constructor Detail

      • ServletRequestEvent

        public ServletRequestEvent​(ServletContext sc,
                                   ServletRequest request)
        Construct a ServletRequestEvent for the given ServletContext and ServletRequest.
        Parameters:
        sc - the ServletContext of the web application.
        request - the ServletRequest that is sending the event.
    • Method Detail

      • getServletRequest

        public ServletRequest getServletRequest()
        Returns the ServletRequest that is changing.
      • getServletContext

        public ServletContext getServletContext()
        Returns the ServletContext of this web application.