程序包 | 说明 |
---|---|
me.chanjar.weixin.common.session |
限定符和类型 | 类和说明 |
---|---|
class |
StandardSession |
限定符和类型 | 字段和说明 |
---|---|
protected Map<String,InternalSession> |
StandardSessionManager.sessions
The set of currently active Sessions for this Manager, keyed by
session identifier.
|
限定符和类型 | 方法和说明 |
---|---|
InternalSession |
StandardSessionManager.createEmptySession() |
InternalSession |
InternalSessionManager.createEmptySession()
Get a session from the recycled ones or create a new empty one.
|
InternalSession |
StandardSessionManager.createSession(String sessionId) |
InternalSession |
InternalSessionManager.createSession(String sessionId)
Construct and return a new session object, based on the default
settings specified by this Manager's properties.
|
InternalSession |
StandardSessionManager.findSession(String id) |
InternalSession |
InternalSessionManager.findSession(String id)
Return the active Session, associated with this Manager, with the
specified session id (if any); otherwise return
null . |
InternalSession[] |
StandardSessionManager.findSessions()
Return the set of active Sessions associated with this Manager.
|
InternalSession[] |
InternalSessionManager.findSessions() |
InternalSession |
StandardSessionFacade.getInternalSession() |
protected InternalSession |
StandardSessionManager.getNewSession()
Get new session class to be used in the doLoad() method.
|
限定符和类型 | 方法和说明 |
---|---|
void |
StandardSessionManager.add(InternalSession session) |
void |
InternalSessionManager.add(InternalSession session)
Add this Session to the set of active Sessions for this Manager.
|
void |
StandardSessionManager.remove(InternalSession session) |
void |
InternalSessionManager.remove(InternalSession session)
Remove this Session from the active Sessions for this Manager.
|
void |
StandardSessionManager.remove(InternalSession session,
boolean update) |
void |
InternalSessionManager.remove(InternalSession session,
boolean update)
Remove this Session from the active Sessions for this Manager.
|
Copyright © 2024. All rights reserved.