javax.servlet
public class ServletRequestAttributeEvent extends ServletRequestEvent
Since: Servlet 2.4
Version: $Rev: 46019 $ $Date: 2005/03/15 10:03:20 $
Constructor Summary | |
---|---|
ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, String name, Object value)
Construct a ServletRequestAttributeEvent from the given context for the
given attribute name and attribute value.
|
Method Summary | |
---|---|
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. |
Parameters: 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.
Returns: String the name of the changed request attribute.
Returns: Object the value of the changed request attribute.