|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionIdManager
Session ID Manager. Manages session IDs across multiple contexts.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
LifeCycle.Listener |
| Method Summary | |
|---|---|
void |
addSession(HttpSession session)
Add a session to the list of known sessions for a given ID. |
String |
getClusterId(String nodeId)
Get a cluster ID from a node ID. |
String |
getNodeId(String clusterId,
HttpServletRequest request)
Get a node ID from a cluster ID and a request |
String |
getWorkerName()
|
boolean |
idInUse(String id)
|
void |
invalidateAll(String id)
Call HttpSession.invalidate() on all known sessions for the given id. |
String |
newSessionId(HttpServletRequest request,
long created)
|
void |
removeSession(HttpSession session)
Remove session from the list of known sessions for a given ID. |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Method Detail |
|---|
boolean idInUse(String id)
id - The session ID without any cluster node extension
void addSession(HttpSession session)
session - The sessionvoid removeSession(HttpSession session)
session - void invalidateAll(String id)
HttpSession.invalidate() on all known sessions for the given id.
id - The session ID without any cluster node extension
String newSessionId(HttpServletRequest request,
long created)
request - created -
String getWorkerName()
String getClusterId(String nodeId)
nodeId -
String getNodeId(String clusterId,
HttpServletRequest request)
clusterId - The ID of the sessionrequest - The request that for the session (or null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||