Class ResponseEvent
java.lang.Object
org.gcube.smartgears.handlers.Event<ApplicationContext>
org.gcube.smartgears.handlers.application.ApplicationEvent<RequestHandler>
org.gcube.smartgears.handlers.application.RequestEvent
org.gcube.smartgears.handlers.application.ResponseEvent
A
ApplicationEvent that occurs when the application returns a response to a given request.- Author:
- Fabio Simeoni
-
Constructor Summary
ConstructorsConstructorDescriptionResponseEvent(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. -
Method Summary
-
Constructor Details
-
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 servletcontext- the context of the applicationrequest- the requestresponse- the response
-