Class SessionTracker
- java.lang.Object
-
- org.finos.legend.engine.server.core.session.SessionTracker
-
- All Implemented Interfaces:
EventListener,javax.servlet.http.HttpSessionListener
public class SessionTracker extends Object implements javax.servlet.http.HttpSessionListener
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CALLSstatic StringATTR_USER_IDstatic StringATTR_USER_PROFILE
-
Constructor Summary
Constructors Constructor Description SessionTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.collections.api.set.SetIterable<SessionInfo>getSessionsInfo(boolean includeProfile, String userID)voidsessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)voidsessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)StringtoJSON(boolean includeProfile, String userID)
-
-
-
Field Detail
-
ATTR_USER_ID
public static final String ATTR_USER_ID
- See Also:
- Constant Field Values
-
ATTR_USER_PROFILE
public static final String ATTR_USER_PROFILE
- See Also:
- Constant Field Values
-
ATTR_CALLS
public static final String ATTR_CALLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
getSessionsInfo
public org.eclipse.collections.api.set.SetIterable<SessionInfo> getSessionsInfo(boolean includeProfile, String userID)
-
-