org.eclipse.jetty.server.session
类 HashedSession
java.lang.Object
org.eclipse.jetty.server.session.AbstractSession
org.eclipse.jetty.server.session.HashedSession
- 所有已实现的接口:
- HttpSession, AbstractSessionManager.SessionIf
public class HashedSession
- extends AbstractSession
| 从类 org.eclipse.jetty.server.session.AbstractSession 继承的方法 |
access, addAttributes, bindValue, clearAttributes, complete, cookieSet, didActivate, doGet, doPutOrRemove, getAccessed, getAttribute, getAttributeMap, getAttributeNames, getAttributes, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNames, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, setAttribute, setIdChanged, setLastAccessedTime, setRequests, timeout, toString, unbindValue, willPassivate |
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
HttpServletRequest request)
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
long created,
long accessed,
String clusterId)
checkValid
protected void checkValid()
- 从类
AbstractSession 复制的描述
- asserts that the session is valid
- 覆盖:
- 类
AbstractSession 中的 checkValid
setMaxInactiveInterval
public void setMaxInactiveInterval(int secs)
- 从接口
HttpSession 复制的描述
- Specifies the time, in seconds, between client requests before the
servlet container will invalidate this session.
An interval value of zero or less indicates that the
session should never timeout.
- 指定者:
- 接口
HttpSession 中的 setMaxInactiveInterval - 覆盖:
- 类
AbstractSession 中的 setMaxInactiveInterval
- 参数:
secs - An integer specifying the number
of seconds
doInvalidate
protected void doInvalidate()
throws IllegalStateException
- 覆盖:
- 类
AbstractSession 中的 doInvalidate
- 抛出:
IllegalStateException
save
public void save(OutputStream os)
throws IOException
- 抛出:
IOException
deIdle
public void deIdle()
idle
public void idle()
throws Exception
- Idle the session to reduce session memory footprint.
The session is idled by persisting it, then clearing the session values attribute map and finally setting
it to an idled state.
- 抛出:
Exception
isIdled
public boolean isIdled()
isSaveFailed
public boolean isSaveFailed()
saveFailed
public void saveFailed()
Copyright © 2013. All Rights Reserved.