javax.servlet
Class ServletRequestEvent
java.lang.Object
java.util.EventObject
javax.servlet.ServletRequestEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ServletRequestAttributeEvent
public class ServletRequestEvent
- extends EventObject
This is the event class for notifications about changes to the
servlet request of a web application.
- Since:
- Servlet2.4
- Version:
- $Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200(mer, 25 ott 2006) $
- See Also:
ServletRequestListener
,
Serialized Form
ServletRequestEvent
public ServletRequestEvent(ServletContext sc,
ServletRequest request)
- Construct a ServletRequestEvent from the given context.
- Parameters:
sc
- the ServletContext of the web application.request
- the ServletRequest that is sending the event.
getServletRequest
public ServletRequest getServletRequest()
- Return the ServletRequest that changed.
- Returns:
- the ServletRequest that sent the event.
getServletContext
public ServletContext getServletContext()
- Return the ServletContext that changed.
- Returns:
- the ServletContext of the web application.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.