クラス HttpSessionEventLoggingListener
java.lang.Object
org.terasoluna.gfw.web.logging.HttpSessionEventLoggingListener
- すべての実装されたインタフェース:
jakarta.servlet.http.HttpSessionActivationListener
,jakarta.servlet.http.HttpSessionAttributeListener
,jakarta.servlet.http.HttpSessionListener
,EventListener
public class HttpSessionEventLoggingListener
extends Object
implements jakarta.servlet.http.HttpSessionListener, jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.http.HttpSessionActivationListener
Listener for session logging.
Listener for logging creation and destruction of session, activation and deactivation, session object bind
and unbind, session attribute operation.
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明void
attributeAdded
(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute gets added to the session.void
attributeRemoved
(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute gets deleted from the session.void
attributeReplaced
(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute added to session gets changed.void
sessionCreated
(jakarta.servlet.http.HttpSessionEvent se) Logging when session is createdvoid
sessionDestroyed
(jakarta.servlet.http.HttpSessionEvent se) Logging when session is being invalidated.void
sessionDidActivate
(jakarta.servlet.http.HttpSessionEvent se) Logging when object bind to the session is deactivated.void
sessionWillPassivate
(jakarta.servlet.http.HttpSessionEvent se) Logging when object bind to the session is activated.
-
コンストラクタの詳細
-
HttpSessionEventLoggingListener
public HttpSessionEventLoggingListener()
-
-
メソッドの詳細
-
sessionWillPassivate
public void sessionWillPassivate(jakarta.servlet.http.HttpSessionEvent se) Logging when object bind to the session is activated.Session ID and the object that generated the event must be logged.
- 定義:
sessionWillPassivate
インタフェース内jakarta.servlet.http.HttpSessionActivationListener
- 関連項目:
-
javax.servlet.http.HttpSessionActivationListener#sessionWillPassivate(javax.servlet.http.HttpSessionEvent)
-
sessionDidActivate
public void sessionDidActivate(jakarta.servlet.http.HttpSessionEvent se) Logging when object bind to the session is deactivated.Session ID and the object that generated the event must be logged.
- 定義:
sessionDidActivate
インタフェース内jakarta.servlet.http.HttpSessionActivationListener
- 関連項目:
-
javax.servlet.http.HttpSessionActivationListener#sessionDidActivate(javax.servlet.http.HttpSessionEvent)
-
attributeAdded
public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute gets added to the session.Session ID, name of the object in which attribute is added and value of the object gets logged.
- 定義:
attributeAdded
インタフェース内jakarta.servlet.http.HttpSessionAttributeListener
- 関連項目:
-
javax.servlet.http.HttpSessionAttributeListener#attributeAdded(javax.servlet.http.HttpSessionBindingEvent)
-
attributeRemoved
public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute gets deleted from the session.Session ID, name of the object in which attribute is deleted from and value of the object gets logged.
- 定義:
attributeRemoved
インタフェース内jakarta.servlet.http.HttpSessionAttributeListener
- 関連項目:
-
javax.servlet.http.HttpSessionAttributeListener#attributeRemoved(javax.servlet.http.HttpSessionBindingEvent)
-
attributeReplaced
public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent se) Logging when some attribute added to session gets changed.Session ID, name of the object in which attribute is replaced and value of the object gets logged.
- 定義:
attributeReplaced
インタフェース内jakarta.servlet.http.HttpSessionAttributeListener
- 関連項目:
-
javax.servlet.http.HttpSessionAttributeListener#attributeReplaced(javax.servlet.http.HttpSessionBindingEvent)
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent se) Logging when session is createdSession ID and implementation class of
HttpSession
is logged.- 定義:
sessionCreated
インタフェース内jakarta.servlet.http.HttpSessionListener
- 関連項目:
-
javax.servlet.http.HttpSessionListener#sessionCreated(javax.servlet.http.HttpSessionEvent)
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent se) Logging when session is being invalidated.Session ID and implementation class of
HttpSession
is logged.- 定義:
sessionDestroyed
インタフェース内jakarta.servlet.http.HttpSessionListener
- 関連項目:
-
javax.servlet.http.HttpSessionListener#sessionDestroyed(javax.servlet.http.HttpSessionEvent)
-