public class SessionUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static long |
getInactiveTimeForSession(Session in_session) |
static long |
getTTLForSession(Session in_session) |
static long |
getUsedTimeForSession(Session in_session) |
static java.util.Locale |
guessLocaleFromSession(HttpSession in_session) |
static java.util.Locale |
guessLocaleFromSession(Session in_session)
Try to get user locale from the session, if possible.
|
static java.lang.Object |
guessUserFromSession(Session in_session)
Try to get user from the session, if possible.
|
public static java.util.Locale guessLocaleFromSession(Session in_session)
in_session
- public static java.util.Locale guessLocaleFromSession(HttpSession in_session)
public static java.lang.Object guessUserFromSession(Session in_session)
in_session
- public static long getUsedTimeForSession(Session in_session)
public static long getTTLForSession(Session in_session)
public static long getInactiveTimeForSession(Session in_session)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.