public interface SessionManager
extends org.apache.catalina.Manager
Modifier and Type | Method and Description |
---|---|
String |
createSessionId(String realId,
String jvmRoute) |
String |
getJvmRoute()
Retrieve the JvmRoute for the enclosing Engine.
|
String |
locate(String sessionId)
Locate the most appropriate jvm route for the specified sessionId
|
Map.Entry<String,String> |
parse(String sessionId) |
void |
removeLocal(org.apache.catalina.Session session)
Remove the active session locally from the manager without replicating to the cluster.
|
void |
setNewSessionCookie(String sessionId,
javax.servlet.http.HttpServletResponse response)
Sets a new cookie for the given session id and response
|
boolean |
storeSession(org.apache.catalina.Session session)
Store the modified session.
|
add, addPropertyChangeListener, backgroundProcess, changeSessionId, createEmptySession, createSession, findSession, findSessions, getActiveSessions, getContainer, getDistributable, getExpiredSessions, getInfo, getMaxActive, getMaxInactiveInterval, getRejectedSessions, getSessionAverageAliveTime, getSessionCounter, getSessionIdLength, getSessionMaxAliveTime, load, remove, removePropertyChangeListener, setContainer, setDistributable, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setRejectedSessions, setSessionAverageAliveTime, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, unload
String getJvmRoute()
String locate(String sessionId)
sessionId
- a session identifiervoid setNewSessionCookie(String sessionId, javax.servlet.http.HttpServletResponse response)
sessionId
- The session idvoid removeLocal(org.apache.catalina.Session session)
session
- boolean storeSession(org.apache.catalina.Session session)
session
- Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.