You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
common-smartgears/src/main/java/org/gcube/smartgears/handlers/application/ResponseEvent.java

29 lines
904 B
Java

package org.gcube.smartgears.handlers.application;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.gcube.smartgears.context.application.ApplicationContext;
/**
* A {@link ApplicationEvent} that occurs when the application returns a response to a given request.
* @author Fabio Simeoni
*
*/
public class ResponseEvent extends RequestEvent {
/**
* Creates an instance with the name of the target servlet, the context of the application, the client request, and the application response.
*
* @param servlet the name of the servlet
* @param context the context of the application
* @param request the request
* @param response the response
*/
public ResponseEvent(String servlet, ApplicationContext context, HttpServletRequest request, HttpServletResponse response) {
super(servlet, context, request, response);
}
}