public interface SessionId
It is generally not necessary to use this type directly.
It is used by the provided impl of Session
to discover (and generate) the session ID.
The SessionModule
provides a default implementation of this type that uses SessionIdGenerator
,
and a cookie, based on SessionCookieConfig
to store the session id.
Modifier and Type | Method and Description |
---|---|
AsciiString |
getValue()
Get the session ID value, generating a new one if necessary.
|
void |
terminate()
Terminate the current session id, disassociating it from the current user.
|
AsciiString getValue()
void terminate()