javax.servlet
Class ServletRequestEvent
java.util.EventObjectjavax.servlet.ServletRequestEvent
public class ServletRequestEvent
extends java.util.EventObject
Events of this kind indicate lifecycle
events for a ServletRequest.
The source of the event
is the ServletContext of this web application.
ServletRequestEvent
public ServletRequestEvent(ServletContext sc,
ServletRequest request)Construct a ServletRequestEvent for the given ServletContext
and ServletRequest.
sc - the ServletContext of the web application.request - the ServletRequest that is sending the event.
getServletContext
public ServletContext getServletContext()
Returns the ServletContext of this web application.
getServletRequest
public ServletRequest getServletRequest()
Returns the ServletRequest that is changing.