Save This Page
Home » glassfish-v2ur2-b04-src » javax » servlet » [javadoc | source]
javax.servlet
public class: ServletRequestEvent [javadoc | source]
java.lang.Object
   java.util.EventObject
      javax.servlet.ServletRequestEvent

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ServletRequestAttributeEvent

Events of this kind indicate lifecycle events for a ServletRequest. The source of the event is the ServletContext of this web application.
Constructor:
 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.
Method from javax.servlet.ServletRequestEvent Summary:
getServletContext,   getServletRequest
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.servlet.ServletRequestEvent Detail:
 public ServletContext getServletContext() 
    Returns the ServletContext of this web application.
 public ServletRequest getServletRequest() 
    Returns the ServletRequest that is changing.