clear
Clears a session instance with the type T.
Throws
if no session provider is registered for the type T
Clears a session with the specified sessionId for the session type T. This method allows clearing sessions by ID without needing the session instance.
Parameters
sessionId
the session ID to invalidate
Throws
Clears a session with the specified sessionId for the session type klass. This method allows clearing sessions by ID without needing the session instance.
Parameters
klass
the session class type
sessionId
the session ID to invalidate