@Immutable public final class WebScopeSessionManager extends Object
ScopeSessionManager for web scopes.| Modifier and Type | Method and Description |
|---|---|
static void |
destroyAllWebSessions()
Destroy all available web scopes.
|
static com.helger.commons.collection.impl.ICommonsCollection<ISessionWebScope> |
getAllSessionWebScopes() |
static ISessionWebScope |
getSessionWebScopeOfID(String sScopeID)
Get the web session scope with the specified ID.
|
static ISessionWebScope |
getSessionWebScopeOfSession(javax.servlet.http.HttpSession aHttpSession)
Get the session web scope of the passed HTTP session.
|
@Nullable public static ISessionWebScope getSessionWebScopeOfID(@Nullable String sScopeID)
null is returned.sScopeID - The ID to be resolved.null if no such scope exists or if the passed scope is
not a session web scopes.@Nullable public static ISessionWebScope getSessionWebScopeOfSession(@Nullable javax.servlet.http.HttpSession aHttpSession)
aHttpSession - The HTTP session to get the scope from. May be null.null if either the HTTP session is null
or if no such scope exists.@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsCollection<ISessionWebScope> getAllSessionWebScopes()
null, mutable copy of all managed session web
scopes.public static void destroyAllWebSessions()
Copyright © 2014–2019 Philip Helger. All rights reserved.