Constructor of ServletRequestAttributeEvent
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.
Methods of ServletRequestAttributeEvent
- public ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, java.lang.String name, java.lang.Object value)
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.
Methods of ServletRequestAttributeEvent
- public java.lang.String getName(): Return the name of the attribute that changed on the ServletRequest.
- public java.lang.Object getValue(): Returns the value of the attribute that has been added, removed or replaced.
- void attributeAdded(ServletRequestAttributeEvent srae): Receives notification that an attribute has been added to the ServletRequest.
- void attributeRemoved(ServletRequestAttributeEvent srae): Receives notification that an attribute has been removed from the ServletRequest.
- void attributeReplaced(ServletRequestAttributeEvent srae): Receives notification that an attribute has been replaced on the ServletRequest.
No comments:
Post a Comment