|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface SessionIdManager
Session ID Manager. Manages session IDs across multiple contexts.
| 嵌套类摘要 |
|---|
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口 |
|---|
LifeCycle.Listener |
| 方法摘要 | |
|---|---|
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. |
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法 |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 方法详细信息 |
|---|
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)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||