public class ServletRequestAttributeEvent extends ServletRequestEvent
|Constructor and Description|
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|
Return the name of the attribute that changed on the ServletRequest.
Returns the value of the attribute that has been added, removed or replaced.
public 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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.