public class ESessionCache extends ESessionBase
ESessionBase.ClientType| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
dataChanged |
protected Set<String> |
deleteAttribute |
protected boolean |
empty |
protected Map<String,Object> |
newAttributes |
protected Map<String,Object> |
sessionStore |
ATTR_LOGINED, ATTR_UID, clientType, creationTime, id, invalid, lastAccessedTime, maxInactiveInterval, servletContext, SessionAttrName, SessionCacheName, SessionTimeOutMinutes, token| 构造器和说明 |
|---|
ESessionCache(javax.servlet.ServletContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkValid() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
void |
invalidate() |
void |
refresh()
更新Session的声明周期
|
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
Map<String,Object> |
snapshot()
获取当前的Session数据快照
|
generateSessionId, getAttr, getCookieKey, getCookieKey, getCreationTime, getId, getLastAccessedTime, getLogined, getMaxInactiveInterval, getServletContext, getSessionContext, getToken, getType, getUid, getUser, getValue, getValueNames, isNew, putValue, removeValue, setLogined, setMaxInactiveInterval, setType, setUidpublic void refresh()
refresh 在类中 ESessionBasepublic void removeAttribute(String name)
public void invalidate()
public Enumeration<String> getAttributeNames()
protected void checkValid()
throws IllegalStateException
Copyright © 2020. All rights reserved.