@WebListener(value="a listener to save visitor count") public class AppSessionListener extends AbstractBaseListener implements javax.servlet.http.HttpSessionListener
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Map<String,Object> |
sessionMap |
log| 构造器和说明 |
|---|
AppSessionListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Long |
getSessionCount() |
static Map<String,Object> |
getSessionMap() |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent event) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event) |
public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
sessionCreated 在接口中 javax.servlet.http.HttpSessionListenerpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
sessionDestroyed 在接口中 javax.servlet.http.HttpSessionListenerpublic static Long getSessionCount()
Copyright © 2017 jiucai.org. All rights reserved.