public class ServletRequestAttributeEvent extends ServletRequestEvent
ServletRequestAttributeListener,
Serialized Formsource| Constructor and Description |
|---|
ServletRequestAttributeEvent(ServletContext sc,
ServletRequest request,
String name,
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 |
|---|---|
String |
getName()
Return the name of the attribute that changed on the ServletRequest.
|
Object |
getValue()
Returns the value of the attribute that has been added, removed or
replaced.
|
getServletContext, getServletRequestgetSource, toStringpublic ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, String name, 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 String getName()
public Object getValue()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.