javax.servlet
Class ServletRequestAttributeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.servlet.ServletRequestEvent
          extended by javax.servlet.ServletRequestAttributeEvent
All Implemented Interfaces:
java.io.Serializable

public class ServletRequestAttributeEvent
extends ServletRequestEvent

The event class for changes to servlet request attributes.

Since:
Servlet 2.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServletRequestAttributeEvent(ServletContext application, ServletRequest request, java.lang.String name, java.lang.Object value)
          Creates a ServletContextAttributeEvent for the changed application.
 
Method Summary
 java.lang.String getName()
          Returns the name of the attribute that changed.
 java.lang.Object getValue()
          Returns the value of the attribute that changed.
 
Methods inherited from class javax.servlet.ServletRequestEvent
getServletContext, getServletRequest
 
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
 

Constructor Detail

ServletRequestAttributeEvent

public ServletRequestAttributeEvent(ServletContext application,
                                    ServletRequest request,
                                    java.lang.String name,
                                    java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.

Parameters:
application - the servlet context that has changed.
request - the request context that has changed.
name - the name of the attribute that changed
value - the value of the attribute that changed
Method Detail

getName

public java.lang.String getName()
Returns the name of the attribute that changed.


getValue

public java.lang.Object getValue()
Returns the value of the attribute that changed.
addthe new value
removethe old value
replacethe old value