Class ResponseEvent


  • public class ResponseEvent
    extends RequestEvent
    A ApplicationEvent that occurs when the application returns a response to a given request.
    Author:
    Fabio Simeoni
    • Constructor Detail

      • ResponseEvent

        public ResponseEvent​(String servlet,
                             ApplicationContext context,
                             jakarta.servlet.http.HttpServletRequest request,
                             jakarta.servlet.http.HttpServletResponse response)
        Creates an instance with the name of the target servlet, the context of the application, the client request, and the application response.
        Parameters:
        servlet - the name of the servlet
        context - the context of the application
        request - the request
        response - the response