@ApplicationScoped public class SessionInitializer extends AbstractChainProcessor
Modifier and Type | Class and Description |
---|---|
static class |
SessionInitializer.PreferredLocale |
Constructor and Description |
---|
SessionInitializer() |
Modifier and Type | Method and Description |
---|---|
protected String |
getExpirationRecoveryURL(javax.servlet.http.HttpServletRequest request) |
protected String |
getNavigationCookieValue(javax.servlet.http.HttpServletRequest request) |
protected String[] |
getParsedNavigationCookieValues(String cookieValue) |
static SessionInitializer.PreferredLocale |
getPreferredLocale(javax.servlet.http.HttpServletRequest request) |
protected void |
initSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static boolean |
isNewSession(javax.servlet.http.HttpServletRequest request) |
boolean |
processRequest()
Make required processing of request.
|
getHttpRequest, getHttpResponse, getRequest, getRequestContext, getResponse, setResponse
public static boolean isNewSession(javax.servlet.http.HttpServletRequest request)
protected void initSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public boolean processRequest() throws Exception
RequestChainProcessor
Exception
protected String getExpirationRecoveryURL(javax.servlet.http.HttpServletRequest request)
protected String getNavigationCookieValue(javax.servlet.http.HttpServletRequest request)
protected String[] getParsedNavigationCookieValues(String cookieValue)
public static SessionInitializer.PreferredLocale getPreferredLocale(javax.servlet.http.HttpServletRequest request)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.