javax.servlet.ServletRequestAttributeListener翻译

来源:互联网 发布:淘宝价格打折有权重吗 编辑:程序博客网 时间:2024/04/30 02:56
 Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD

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. 实现该接口会接收到web应用程序的servlet请求中列出的属性改变的通知。 为了接收到通知事件,实现类必须为web应用程序配置部署描述符。

Since:
v 2.4
See Also:
ServletRequestAttributeEvent

Method Summary voidattributeAdded(ServletRequestAttributeEvent srae)
          Notification that a new attribute was added to the servlet request. 通知有新的属性被加入servlet请求。
 voidattributeRemoved(ServletRequestAttributeEvent srae)
          Notification that an existing attribute has been removed from the servlet request. 通知有存在的属性被删除出servlet请求。
 voidattributeReplaced(ServletRequestAttributeEvent srae)
          Notification that an attribute on the servlet request has been replaced. 通知有servlet请求中的属性被替换。
 

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. 通知有新的属性被加入servlet请求。在属性被增加后调用。


attributeRemoved

public void attributeRemoved(ServletRequestAttributeEvent srae)
Notification that an existing attribute has been removed from the servlet request. Called after the attribute is removed. 通知有存在的属性被删除出servlet请求。在属性被删除后调用。


attributeReplaced

public void attributeReplaced(ServletRequestAttributeEvent srae)
Notification that an attribute on the servlet request has been replaced. Called after the attribute is replaced. 通知有servlet请求中的属性被替换。在属性被替换后调用。


Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

原创粉丝点击