javax.servlet
Class ServletRequestEvent
java.util.EventObject
javax.servlet.ServletRequestEvent
public class ServletRequestEvent
extends java.util.EventObject
This is the event class for notifications about changes to the
servlet request of a web application.
ServletRequestEvent
public ServletRequestEvent(ServletContext sc,
ServletRequest request)
Construct a ServletRequestEvent from the given context.
sc
- the ServletContext of the web application.request
- the ServletRequest that is sending the event.
getServletContext
public ServletContext getServletContext()
Return the ServletContext that changed.
- the ServletContext of the web application.
getServletRequest
public ServletRequest getServletRequest()
Return the ServletRequest that changed.
- the ServletRequest that sent the event.