javax.servlet
Class ServletRequestEvent
java.lang.Object
  
java.util.EventObject
      
javax.servlet.ServletRequestEvent
- All Implemented Interfaces: 
 - java.io.Serializable
 
- Direct Known Subclasses: 
 - ServletRequestAttributeEvent
 
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.
- Since:
 
  - Servlet 2.4
 
- See Also:
 ServletRequestListener, 
Serialized Form
 
| Fields inherited from class java.util.EventObject | 
source | 
 
 
 
| Methods inherited from class java.util.EventObject | 
getSource, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
ServletRequestEvent
public ServletRequestEvent(ServletContext sc,
                           ServletRequest request)
- Construct a ServletRequestEvent for the given ServletContext
 and ServletRequest.
- Parameters:
 sc - the ServletContext of the web application.request - the ServletRequest that is sending the event.
 
getServletRequest
public ServletRequest getServletRequest()
- Returns the ServletRequest that is changing.
 
 
getServletContext
public ServletContext getServletContext()
- Returns the ServletContext of this web application.
 
 
Submit a bug or feature  Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.  
 Generated on 10-February-2011 12:41