public interface InternalSession
限定符和类型 | 方法和说明 |
---|---|
void |
access()
Update the accessed time information for this session.
|
void |
endAccess()
End the access.
|
void |
expire()
Perform the internal processing required to invalidate this session,
without triggering an exception if the session has already expired.
|
String |
getIdInternal()
Return the session identifier for this session.
|
WxSession |
getSession()
Return the
HttpSession for which this object
is the facade. |
boolean |
isValid()
Return the
isValid flag for this session. |
void |
setCreationTime(long time)
Set the creation time for this session.
|
void |
setId(String id)
Set the session identifier for this session.
|
void |
setMaxInactiveInterval(int interval)
Set the default maximum inactive interval (in seconds)
for Sessions created by this Manager.
|
void |
setValid(boolean isValid)
Set the
isValid flag for this session. |
WxSession getSession()
HttpSession
for which this object
is the facade.boolean isValid()
isValid
flag for this session.void setValid(boolean isValid)
isValid
flag for this session.isValid
- The new value for the isValid
flagString getIdInternal()
void expire()
void access()
void endAccess()
void setCreationTime(long time)
time
- The new creation timevoid setMaxInactiveInterval(int interval)
interval
- The new default valuevoid setId(String id)
id
- The new session identifierCopyright © 2024. All rights reserved.