public class SessionLifecycleLogger extends Object implements SessionLifecycleListener
Constructor and Description |
---|
SessionLifecycleLogger() |
Modifier and Type | Method and Description |
---|---|
void |
init(SessionConfig sessionConfig) |
void |
sessionCreated(javax.servlet.http.HttpSession session)
当session第一次被创建以后,被调用。
|
void |
sessionInvalidated(javax.servlet.http.HttpSession session)
当session被作废后以后,被调用。
|
void |
sessionVisited(javax.servlet.http.HttpSession session)
当session被访问的时候,被调用。
|
void |
setLogLevel(LogLevel level) |
void |
setVisitLogLevel(LogLevel level) |
public void setLogLevel(LogLevel level)
public void setVisitLogLevel(LogLevel level)
public void init(SessionConfig sessionConfig)
init
in interface SessionInterceptor
public void sessionCreated(javax.servlet.http.HttpSession session)
SessionLifecycleListener
sessionCreated
in interface SessionLifecycleListener
public void sessionInvalidated(javax.servlet.http.HttpSession session)
SessionLifecycleListener
sessionInvalidated
in interface SessionLifecycleListener
public void sessionVisited(javax.servlet.http.HttpSession session)
SessionLifecycleListener
sessionVisited
in interface SessionLifecycleListener
Copyright © 2006–2018 TinyGroup. All rights reserved.