Package | Description |
---|---|
org.voovan.http.server |
Modifier and Type | Method and Description |
---|---|
protected SessionManager |
HttpRequest.getSessionManager() |
protected SessionManager |
HttpSession.getSessionManager()
获取 Session 管理器
|
SessionManager |
WebServer.getSessionManager()
返回 Session 管理器
|
static SessionManager |
SessionManager.newInstance(WebServerConfig config)
构造一个 SessionManager
|
Modifier and Type | Method and Description |
---|---|
void |
HttpSession.init(SessionManager sessionManager,
IoSession socketSession)
用于从会话池中取出的会话实例化
|
protected void |
HttpRequest.setSessionManager(SessionManager sessionManager) |
protected void |
HttpSession.setSessionManager(SessionManager sessionManager)
设置Session 管理器
|
Constructor and Description |
---|
HttpDispatcher(WebServerConfig webConfig,
SessionManager sessionManager)
构造函数
|
HttpSession(WebServerConfig config,
SessionManager sessionManager,
IoSession socketSession)
构造函数
|
WebSocketDispatcher(WebServerConfig webConfig,
SessionManager sessionManager)
构造函数
|
Copyright © 2020 Voovan. All rights reserved.