java.io.Serializablepublic class ServletRequestAttributeEvent extends ServletRequestEvent
ServletRequestAttributeListener,
Serialized Form| Constructor | Description |
|---|---|
ServletRequestAttributeEvent(ServletContext sc,
ServletRequest request,
java.lang.String name,
java.lang.Object value) |
Construct a ServletRequestAttributeEvent giving the servlet context
of this web application, the ServletRequest whose attributes are
changing and the name and value of the attribute.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Return the name of the attribute that changed on the ServletRequest.
|
java.lang.Object |
getValue() |
Returns the value of the attribute that has been added, removed or
replaced.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServletContext, getServletRequestpublic ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, java.lang.String name, java.lang.Object value)
sc - the ServletContext that is sending the event.request - the ServletRequest that is sending the event.name - the name of the request attribute.value - the value of the request attribute.public java.lang.String getName()
public java.lang.Object getValue()
Copyright © 1999-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms. Portions Copyright © 1999-2002 The Apache Software Foundation.