org.nuxeo.ecm.platform.web.common.session
Class NuxeoHttpSessionMonitor
java.lang.Object
org.nuxeo.ecm.platform.web.common.session.NuxeoHttpSessionMonitor
public class NuxeoHttpSessionMonitor
- extends Object
Singleton used to keep track of all HttpSessions. This Singleton is
populated/updated either via the HttpSessionListener or via directedly via
the Authentication filter
- Since:
- 5.4.2
- Author:
- Tiry (tdelprat@nuxeo.com)
REQUEST_COUNTER
public static final String REQUEST_COUNTER
- See Also:
- Constant Field Values
SESSION_COUNTER
public static final String SESSION_COUNTER
- See Also:
- Constant Field Values
REQUEST_COUNTER_STEP
public static final long REQUEST_COUNTER_STEP
- See Also:
- Constant Field Values
NuxeoHttpSessionMonitor
public NuxeoHttpSessionMonitor()
instance
public static NuxeoHttpSessionMonitor instance()
addEntry
public SessionInfo addEntry(HttpSession session)
associatedUser
public SessionInfo associatedUser(HttpServletRequest request)
associatedUser
public SessionInfo associatedUser(HttpSession session,
String userName)
updateEntry
public SessionInfo updateEntry(HttpServletRequest request)
removeEntry
public void removeEntry(String sid)
getTrackedSessions
public Collection<SessionInfo> getTrackedSessions()
getSortedSessions
public List<SessionInfo> getSortedSessions()
getSortedSessions
public List<SessionInfo> getSortedSessions(long maxInactivity)
getGlobalRequestCounter
public long getGlobalRequestCounter()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.