public class ServletRequestAttributeEvent extends ServletRequestEvent
ServletRequestAttributeListener,
Serialized Form| Constructor and 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 and 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.
|
getServletContext, 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 © 2000-2016 Apache Software Foundation. All Rights Reserved.