public class SessionInitializer extends RequestChainProcessor
Modifier and Type | Class and Description |
---|---|
static class |
SessionInitializer.PreferredLocale |
Constructor and Description |
---|
SessionInitializer() |
Modifier and Type | Method and Description |
---|---|
protected String |
getExpirationRecoveryURL() |
String |
getExpiredUrl() |
ControllerListener[] |
getListeners() |
NavigationCookieProcessor |
getNavigationCookieProcessor() |
protected String |
getNavigationCookieValue() |
protected String[] |
getParsedNavigationCookieValues(String cookieValue) |
protected SessionInitializer.PreferredLocale |
getPreferredLocale() |
protected boolean |
handleExpiration()
Handles expiration of session
|
protected void |
handleExpirationRecovery() |
protected void |
initSession()
Called when a new session is created.
|
static boolean |
isNewSession(javax.servlet.http.HttpServletRequest request) |
boolean |
isPerformExpiredRecovery() |
protected boolean |
processRequest()
Make required processing of request.
|
void |
setExpiredUrl(String expiredUrl) |
void |
setListeners(ControllerListener[] listeners) |
void |
setNavigationCookieProcessor(NavigationCookieProcessor navigationCookieProcessor) |
void |
setPerformExpiredRecovery(boolean performExpiredRecovery) |
protected boolean |
verifySession(javax.servlet.http.HttpSession session)
Check that current session has all the required parameters, and issue warnings if not.
|
doRequestProcessing, getControllerStatus, getNextStep, getRequest, getResponse, setNextStep
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop
public NavigationCookieProcessor getNavigationCookieProcessor()
public void setNavigationCookieProcessor(NavigationCookieProcessor navigationCookieProcessor)
public boolean isPerformExpiredRecovery()
public void setPerformExpiredRecovery(boolean performExpiredRecovery)
public String getExpiredUrl()
public void setExpiredUrl(String expiredUrl)
public ControllerListener[] getListeners()
public void setListeners(ControllerListener[] listeners)
public static boolean isNewSession(javax.servlet.http.HttpServletRequest request)
protected boolean processRequest() throws Exception
processRequest
in class RequestChainProcessor
Exception
protected void initSession()
protected boolean verifySession(javax.servlet.http.HttpSession session)
protected boolean handleExpiration()
protected void handleExpirationRecovery()
protected String getExpirationRecoveryURL()
protected String getNavigationCookieValue()
protected String[] getParsedNavigationCookieValues(String cookieValue)
protected SessionInitializer.PreferredLocale getPreferredLocale()
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.