javax.servlet.http.HttpSession, AbstractSessionManager.SessionIfpublic class HashedSession extends MemSession
SESSION_CREATED_SECURE| Modifier | Constructor | Description |
|---|---|---|
protected |
HashedSession(HashSessionManager hashSessionManager,
long created,
long accessed,
java.lang.String clusterId) |
|
protected |
HashedSession(HashSessionManager hashSessionManager,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
checkValid() |
asserts that the session is valid
|
void |
deIdle() |
|
void |
deIdleFailed() |
|
protected void |
doInvalidate() |
|
void |
idle() |
Idle the session to reduce session memory footprint.
|
boolean |
isDeIdleFailed() |
|
boolean |
isIdled() |
|
boolean |
isSaveFailed() |
|
void |
save(java.io.OutputStream os) |
|
void |
saveFailed() |
|
void |
setMaxInactiveInterval(int secs) |
access, bindValue, callSessionAttributeListeners, changeAttribute, checkExpiry, complete, cookieSet, didActivate, getAccessed, getAttribute, getAttributeNames, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getSessionManager, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, renewId, setAttribute, setClusterId, setCookieSetTime, setIdChanged, setLastAccessedTime, setNodeId, setRequests, timeout, toString, unbindValue, updateAttribute, willPassivateaddAttributes, clearAttributes, doGet, doGetAttributeNames, doPutOrRemove, getAttributeMap, getAttributes, getNamesprotected HashedSession(HashSessionManager hashSessionManager, javax.servlet.http.HttpServletRequest request)
protected HashedSession(HashSessionManager hashSessionManager, long created, long accessed, java.lang.String clusterId)
protected void checkValid()
AbstractSessioncheckValid in class AbstractSessionpublic void setMaxInactiveInterval(int secs)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionsetMaxInactiveInterval in class AbstractSessionprotected void doInvalidate()
throws java.lang.IllegalStateException
doInvalidate in class AbstractSessionjava.lang.IllegalStateExceptionpublic void save(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic void deIdle()
public void idle()
throws java.lang.Exception
java.lang.Exception - if unable to save sessionpublic boolean isIdled()
public boolean isSaveFailed()
public void saveFailed()
public void deIdleFailed()
public boolean isDeIdleFailed()
Copyright © 1995–2018 Webtide. All rights reserved.