Java-ServletRequestListener-ServletRequestAttributeListener
来源:互联网 发布:windows tts 语音库 编辑:程序博客网 时间:2024/04/30 11:30
/** * A ServletRequestListener can be implemented by the developer * interested in being notified of requests coming in and out of * scope in a web component. A request is defined as coming into * scope when it is about to enter the first servlet or filter * in each web application, as going out of scope when it exits * the last servlet or the first filter in the chain. * * @since Servlet 2.4 *///Servlet请求监听器,开发者可以实现这个接口来监听请求进入或者离开web应用public interface ServletRequestListener extends EventListener { /** The request is about to go out of scope of the web application. *///Request销毁监听 public void requestDestroyed ( ServletRequestEvent sre ); /** The request is about to come into scope of the web application. */ //Request初始化监听 public void requestInitialized ( ServletRequestEvent sre );}
/** * A ServletRequestAttributeListener can be implemented by the * developer interested in being notified of request attribute * changes. Notifications will be generated while the request * is within the scope of the web application in which the listener * is registered. A request is defined as coming into scope when * it is about to enter the first servlet or filter in each web * application, as going out of scope when it exits the last servlet * or the first filter in the chain. * * @since Servlet 2.4 *///servlet 请求参数监听器,开发者可以实现这个接口来通知属性的改变public interface ServletRequestAttributeListener extends EventListener { /** Notification that a new attribute was added to the ** servlet request. Called after the attribute is added. *///属性添加监听 public void attributeAdded(ServletRequestAttributeEvent srae); /** Notification that an existing attribute has been removed from the ** servlet request. Called after the attribute is removed. */ //属性删除监听 public void attributeRemoved(ServletRequestAttributeEvent srae); /** Notification that an attribute was replaced on the ** servlet request. Called after the attribute is replaced. */ //属性替代监听 public void attributeReplaced(ServletRequestAttributeEvent srae);}
0 0
- Java-ServletRequestListener-ServletRequestAttributeListener
- 使用ServletRequestListener和ServletRequestAttributeListener
- 使用ServletRequestListener和ServletRequestAttributeListener
- 使用ServletRequestListener和ServletRequestAttributeListener
- Listener监听器(ServletRequestListener,ServletRequestAttributeListener)
- Listenter之使用ServletRequestListener和ServletRequestAttributeListener
- java中servletContextListener、httpSessionListener和servletRequestListener使用整理
- java中servletContextListener、httpSessionListener和servletRequestListener使用整理
- java中servletContextListener、httpSessionListener和servletRequestListener使用整理
- java中servletContextListener、httpSessionListener和servletRequestListener使用整理
- ServletContextListener、ServletRequestListener
- javax.servlet.ServletRequestAttributeListener翻译
- javax.servlet.ServletRequestListener翻译
- ServletContextListener,HttpSessionListener,ServletRequestListener监听器
- ServletRequestListener | 监听器 | 应用例子
- ServletRequestListener请求的监听事件
- 自定义ServletRquestListener和ServletRequestAttributeListener的监听
- 1.5、ServletRequestAttributeListener和HttpSessionAttributeListener监听器范例
- 以太网OAM技术介绍 http://blog.chinaunix.net/uid-113269-id-267427.html
- Spring AOP的底层实现技术
- 协同过滤工具推荐
- hadoop 读书笔记(1)
- 2.11 行列式
- Java-ServletRequestListener-ServletRequestAttributeListener
- 【FastDev4Android框架开发】Android 列表下拉刷新组件PullToRefreshListView使用(三)
- iOS常见问题---const和volatile
- Framework目录一阅
- Android Universal Image Loader 使用详解
- windows下 Codeblocks 搭建 Objective-c 开发环境
- 只在栈上和只在堆上申请对象
- leetcode Unique Paths II
- 单循环链表实现