public class RedissonSession
extends org.apache.catalina.session.StandardSession
accessCount, ACTIVITY_CHECK, attributes, authType, creationTime, EMPTY_ARRAY, excludedAttributes, expiring, facade, id, isNew, isValid, LAST_ACCESS_AT_START, lastAccessedTime, listeners, manager, maxInactiveInterval, notes, principal, sessionContext, sm, STRICT_SERVLET_COMPLIANCE, support, thisAccessedTime
Constructor and Description |
---|
RedissonSession(RedissonSessionManager manager,
RedissonSessionManager.ReadMode readMode) |
Modifier and Type | Method and Description |
---|---|
void |
access() |
void |
delete() |
void |
endAccess() |
Object |
getAttribute(String name) |
void |
load(Map<String,Object> attrs) |
protected void |
removeAttributeInternal(String name,
boolean notify) |
void |
save() |
void |
setAttribute(String name,
Object value,
boolean notify) |
void |
setCreationTime(long time) |
void |
setId(String id,
boolean notify) |
void |
setMaxInactiveInterval(int interval) |
void |
setNew(boolean isNew) |
void |
setValid(boolean isValid) |
activate, addSessionListener, doReadObject, doWriteObject, exclude, exclude, expire, expire, fireSessionEvent, getAttributeNames, getAuthType, getCreationTime, getCreationTimeInternal, getId, getIdInternal, getIdleTime, getIdleTimeInternal, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getServletContext, getSession, getSessionContext, getThisAccessedTime, getThisAccessedTimeInternal, getValue, getValueNames, invalidate, isAttributeDistributable, isNew, isValid, isValidInternal, keys, passivate, putValue, readObjectData, recycle, removeAttribute, removeAttribute, removeNote, removeSessionListener, removeValue, setAttribute, setAuthType, setId, setManager, setNote, setPrincipal, tellChangedSessionId, tellNew, toString, writeObjectData
public RedissonSession(RedissonSessionManager manager, RedissonSessionManager.ReadMode readMode)
public Object getAttribute(String name)
getAttribute
in interface javax.servlet.http.HttpSession
getAttribute
in class org.apache.catalina.session.StandardSession
public void setId(String id, boolean notify)
setId
in interface org.apache.catalina.Session
setId
in class org.apache.catalina.session.StandardSession
public void delete()
public void setCreationTime(long time)
setCreationTime
in interface org.apache.catalina.Session
setCreationTime
in class org.apache.catalina.session.StandardSession
public void access()
access
in interface org.apache.catalina.Session
access
in class org.apache.catalina.session.StandardSession
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
in interface org.apache.catalina.Session
setMaxInactiveInterval
in class org.apache.catalina.session.StandardSession
public void setValid(boolean isValid)
setValid
in interface org.apache.catalina.Session
setValid
in class org.apache.catalina.session.StandardSession
public void setNew(boolean isNew)
setNew
in interface org.apache.catalina.Session
setNew
in class org.apache.catalina.session.StandardSession
public void endAccess()
endAccess
in interface org.apache.catalina.Session
endAccess
in class org.apache.catalina.session.StandardSession
public void setAttribute(String name, Object value, boolean notify)
setAttribute
in class org.apache.catalina.session.StandardSession
protected void removeAttributeInternal(String name, boolean notify)
removeAttributeInternal
in class org.apache.catalina.session.StandardSession
public void save()
Copyright © 2014–2017 The Redisson Project. All rights reserved.