public class SessionUtils extends 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 Locale |
guessLocaleFromSession(HttpSession in_session) |
static Locale |
guessLocaleFromSession(Session in_session)
Try to get user locale from the session, if possible.
|
static Object |
guessUserFromSession(Session in_session)
Try to get user from the session, if possible.
|
public static Locale guessLocaleFromSession(Session in_session)
in_session
- The sessionpublic static Locale guessLocaleFromSession(HttpSession in_session)
public static Object guessUserFromSession(Session in_session)
in_session
- The sessionpublic static long getUsedTimeForSession(Session in_session)
public static long getTTLForSession(Session in_session)
public static long getInactiveTimeForSession(Session in_session)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.