public interface SessionManagementStrategy
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all sessions.
|
Collection<javax.servlet.http.HttpSession> |
getAll()
Returns a collection containing all sessions.
|
javax.servlet.http.HttpSession |
remove(String id)
The unique identifier for the session to remove.
|
void |
store(javax.servlet.http.HttpSession session)
Stores the given session.
|
void clear()
Collection<javax.servlet.http.HttpSession> getAll()
Collection
of all known HttpSession
s, if any;
an empty Collection
otherwisevoid store(javax.servlet.http.HttpSession session)
session
- the HttpSession
to store (required)javax.servlet.http.HttpSession remove(String id)
id
- the unique identifier for the session to remove (required)HttpSession
if it exists; null
otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.