站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

ServletRequestAttributeListener (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.servlet
Interface ServletRequestAttributeListener

All Superinterfaces:
EventListener

public interface ServletRequestAttributeListener
extends EventListener

Implementations of this interface receive notifications of changes to the attribute list on the servlet request of a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

Since:
v 2.4
See Also:
ServletRequestAttributeEvent

Method Summary
 void attributeAdded(ServletRequestAttributeEvent srae)
          Notification that a new attribute was added to the servlet request.
 void attributeRemoved(ServletRequestAttributeEvent srae)
          Notification that an existing attribute has been removed from the servlet request.
 void attributeReplaced(ServletRequestAttributeEvent srae)
          Notification that an attribute on the servlet request has been replaced.
 

Method Detail

attributeAdded

public void attributeAdded(ServletRequestAttributeEvent srae)
Notification that a new attribute was added to the servlet request. Called after the attribute is added.


attributeRemoved

public void attributeRemoved(ServletRequestAttributeEvent srae)
Notification that an existing attribute has been removed from the servlet request. Called after the attribute is removed.


attributeReplaced

public void attributeReplaced(ServletRequestAttributeEvent srae)
Notification that an attribute on the servlet request has been replaced. Called after the attribute is replaced.


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.