@WebListener public class SessionListener extends Object implements javax.servlet.http.HttpSessionListener
HttpSession
s by putting a Session
object, into the HttpSession
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.lang3.time.FastDateFormat |
DATE_PATTERN |
static String |
MDC_SESSION_ID |
static String |
META_DATA |
static String |
SESSION_MANAGER |
Constructor and Description |
---|
SessionListener() |
Modifier and Type | Method and Description |
---|---|
static Session |
getSession(javax.servlet.http.HttpSession httpSession) |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent event) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event) |
protected static void |
setSession(javax.servlet.http.HttpSession httpSession,
Session session) |
public static final String SESSION_MANAGER
public static final String META_DATA
public static final String MDC_SESSION_ID
public static final org.apache.commons.lang3.time.FastDateFormat DATE_PATTERN
public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
sessionCreated
in interface javax.servlet.http.HttpSessionListener
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
public static Session getSession(javax.servlet.http.HttpSession httpSession)
protected static void setSession(javax.servlet.http.HttpSession httpSession, Session session)
Copyright © 2011–2023 aiticon GmbH. All rights reserved.