SessionManager接口是用来定义会话管理器操作的接口,先对其解析如下:
1.根据会话上下文启动一个会话信息
Session start(SessionContext context);
2.根据会话key获取会话信息
Session getSession(SessionKey key) throws SessionException;
SessionManager接口是用来定义会话管理器操作的接口,先对其解析如下:
1.根据会话上下文启动一个会话信息
Session start(SessionContext context);
2.根据会话key获取会话信息
Session getSession(SessionKey key) throws SessionException;