public class LocalSessionManagementStrategy extends Object implements SessionManagementStrategy
| Constructor and Description |
|---|
LocalSessionManagementStrategy() |
| 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.
|
public void clear()
SessionManagementStrategyclear in interface SessionManagementStrategypublic Collection<javax.servlet.http.HttpSession> getAll()
SessionManagementStrategygetAll in interface SessionManagementStrategyCollection of all known HttpSessions, if any;
an empty Collection otherwisepublic void store(javax.servlet.http.HttpSession session)
SessionManagementStrategystore in interface SessionManagementStrategysession - the HttpSession to store (required)public javax.servlet.http.HttpSession remove(String id)
SessionManagementStrategyremove in interface SessionManagementStrategyid - the unique identifier for the session to remove (required)HttpSession if it exists; null otherwiseCopyright © 2018 JBoss by Red Hat. All rights reserved.