All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clime.messadmin.providers.spi.RequestLifeCycleProvider Maven / Gradle / Ivy

Go to download

Notification system and Session administration for J2EE Web Applications

There is a newer version: 4.1.1
Show newest version
/**
 * 
 */
package clime.messadmin.providers.spi;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Note: this is about the same as a ServletFilter or a ServletRequestListener, except you don't have to change your web.xml and call chain.doFilter()
 * Note: the invocation order of Providers is reversed in case of session/application destruction.
 * @author Cédrik LIME
 */
public interface RequestLifeCycleProvider extends BaseProvider {
	/**
	 * Notification that the servlet request is about to go into scope.
	 */
	public void requestInitialized(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext);
	/**
	 * Notification that the servlet request is about to go out of scope.
	 */
	public void requestDestroyed(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy