Package lumis.portal.presentation
Class HttpSessionMonitor
- java.lang.Object
-
- lumis.portal.presentation.HttpSessionMonitor
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,HttpSessionBindingListener
public class HttpSessionMonitor extends java.lang.Object implements HttpSessionBindingListener, java.io.Serializable
Monitors aHttpSession
, collecting data for thePresentationMonitorUtil.EVENT_HTTP_SESSION
event.- Since:
- 4.1.0
- Version:
- $Revision: 23027 $ $Date: 2019-08-05 11:41:07 -0300 (Mon, 05 Aug 2019) $
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
monitorSession(SessionConfig sessionConfig, PageWebResource webResource, HttpSession session, java.lang.String lastTrackId)
Starts monitoring the given http session.void
valueBound(HttpSessionBindingEvent event)
void
valueUnbound(HttpSessionBindingEvent event)
-
-
-
Method Detail
-
valueBound
public void valueBound(HttpSessionBindingEvent event)
- Specified by:
valueBound
in interfaceHttpSessionBindingListener
-
valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)
- Specified by:
valueUnbound
in interfaceHttpSessionBindingListener
-
monitorSession
public static void monitorSession(SessionConfig sessionConfig, PageWebResource webResource, HttpSession session, java.lang.String lastTrackId) throws PortalException
Starts monitoring the given http session. This method expects that the current monitor context is properly set.- Parameters:
session
- the http session.lastTrackId
- the monitor user identifier.- Throws:
PortalException
- Since:
- 11.0.0
-
-