Java-HttpSession监听
2015-10-24 17:13
489 查看
//HttpSession监听 public interface HttpSessionActivationListener extends EventListener { /** Notification that the session is about to be passivated.*/ //session无效监听 public void sessionWillPassivate(HttpSessionEvent se); /** Notification that the session has just been activated.*/ //session有效监听 public void sessionDidActivate(HttpSessionEvent se); }
//session 属性监听 public interface HttpSessionAttributeListener extends EventListener { /** Notification that an attribute has been added to a session. Called after the attribute is added.*/ //属性增加监听 public void attributeAdded ( HttpSessionBindingEvent se ); /** Notification that an attribute has been removed from a session. Called after the attribute is removed. */ //属性删除监听 public void attributeRemoved ( HttpSessionBindingEvent se ); /** Notification that an attribute has been replaced in a session. Called after the attribute is replaced. */ //属性替换监听 public void attributeReplaced ( HttpSessionBindingEvent se ); }
相关文章推荐
- HTTP协议学习
- http协议post
- Java-HttpSession
- Java-HttpSession
- Java-HttpSession
- TCP/IP网络编程 基于Linux编程_4 --多线程服务器端的实现
- TCP/IP网络编程 基于Linux编程_4 --多线程服务器端的实现
- 第四章 使用Servlet处理HTTP请求
- Java-HttpServletResponse-HttpServletResponseWrapper
- Java-HttpServletResponse-HttpServletResponseWrapper
- Python 第三方 http 库-Requests 学习
- 神经网络
- TCP协议中的三次握手和四次挥手(图解)
- Android网络编程get方式传递数据给服务器
- Java-HttpServletRequest
- Java-HttpServletRequest
- Java-HttpServletRequest
- 带上下界的网络流
- Android 中通过定时器周期性执行网络请求
- IOS网络图片缓存详解