| Package | Description |
|---|---|
| com.helger.web.scope.impl | |
| com.helger.web.scope.mgr | |
| com.helger.web.scope.session |
| Modifier and Type | Class and Description |
|---|---|
class |
SessionWebScope
Default implementation of the
ISessionWebScope interface. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ISessionWebScope> |
WebScopeManager.onSessionBegin(javax.servlet.http.HttpSession aHttpSession,
Function<? super javax.servlet.http.HttpSession,T> aFactory) |
| Modifier and Type | Method and Description |
|---|---|
static ISessionWebScope |
WebScopeManager.getSessionScope()
Get or create a session scope based on the current request scope.
|
static ISessionWebScope |
WebScopeManager.getSessionScope(boolean bCreateIfNotExisting)
Get the session scope from the current request scope.
|
static ISessionWebScope |
WebScopeSessionManager.getSessionWebScopeOfID(String sScopeID)
Get the web session scope with the specified ID.
|
static ISessionWebScope |
WebScopeSessionManager.getSessionWebScopeOfSession(javax.servlet.http.HttpSession aHttpSession)
Get the session web scope of the passed HTTP session.
|
static ISessionWebScope |
WebScopeManager.internalGetOrCreateSessionScope(javax.servlet.http.HttpSession aHttpSession,
boolean bCreateIfNotExisting,
boolean bItsOkayToCreateANewScope)
Internal method which does the main logic for session web scope creation
|
static ISessionWebScope |
WebScopeManager.internalGetSessionScope(boolean bCreateIfNotExisting,
boolean bItsOkayToCreateANewSession)
Get the session scope from the current request scope.
|
static ISessionWebScope |
WebScopeManager.internalGetSessionScope(IRequestWebScope aRequestScope,
boolean bCreateIfNotExisting,
boolean bItsOkayToCreateANewSession)
Get the session scope of the provided request scope.
|
static ISessionWebScope |
WebScopeManager.onSessionBegin(javax.servlet.http.HttpSession aHttpSession)
To be called, when a session web scope is initialized.
|
static ISessionWebScope |
WebScopeSessionHelper.renewSessionScope(javax.servlet.http.HttpSession aHttpSession)
Renew the session scope identified by the passed HTTP session.
|
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsCollection<ISessionWebScope> |
WebScopeSessionManager.getAllSessionWebScopes() |
| Modifier and Type | Method and Description |
|---|---|
void |
ISessionWebScopeActivationHandler.onSessionDidActivate(ISessionWebScope aSessionScope)
Invoked after the session was activated.
|
void |
ISessionWebScopePassivationHandler.onSessionWillPassivate(ISessionWebScope aSessionScope)
Invoked before the session will be passivated.
|
| Constructor and Description |
|---|
SessionWebScopeActivator(ISessionWebScope aSessionWebScope)
Constructor for writing
|
Copyright © 2014–2019 Philip Helger. All rights reserved.