Package | Description |
---|---|
com.mxixm.fastboot.weixin.module.web | |
com.mxixm.fastboot.weixin.module.web.session |
Modifier and Type | Method and Description |
---|---|
WxSession |
WxRequest.getWxSession() |
WxSession |
WxRequest.getWxSession(boolean create) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultWxSession
FastBootWeixin DefaultWxSession
|
Modifier and Type | Field and Description |
---|---|
protected CacheMap<String,WxSession> |
DefaultWxSessionManager.sessions
可以参考Tomcat自己的sessionManager,自己内部维护一个Map,这里为了省事用了我自己的cacheMap
缺点是lastAccessTime就只能在get的时候设置了。对于获取属性的操作并不会影响这个值。
|
Modifier and Type | Method and Description |
---|---|
WxSession |
DefaultWxSessionManager.createEmptySession() |
WxSession |
WxSessionManager.createWxSession(WxRequest wxRequest) |
WxSession |
DefaultWxSessionManager.createWxSession(WxRequest wxRequest) |
WxSession[] |
DefaultWxSessionManager.findWxSessions() |
protected WxSession |
DefaultWxSessionManager.getNewWxSession() |
WxSession |
WxSessionManager.getWxSession(WxRequest wxRequest) |
WxSession |
DefaultWxSessionManager.getWxSession(WxRequest wxRequest) |
WxSession |
WxSessionManager.getWxSession(WxRequest wxRequest,
boolean create) |
WxSession |
DefaultWxSessionManager.getWxSession(WxRequest wxRequest,
boolean create) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultWxSessionManager.add(WxSession wxSession) |
void |
WxSessionManager.removeWxSession(WxSession wxSession) |
void |
DefaultWxSessionManager.removeWxSession(WxSession wxSession) |
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.