| java.lang.Object org.apache.catalina.manager.util.SessionUtils
SessionUtils | public class SessionUtils (Code) | | Utility methods on HttpSessions...
author: Cédrik LIME |
getInactiveTimeForSession | public static long getInactiveTimeForSession(Session in_session)(Code) | | |
getTTLForSession | public static long getTTLForSession(Session in_session)(Code) | | |
getUsedTimeForSession | public static long getUsedTimeForSession(Session in_session)(Code) | | |
guessLocaleFromSession | public static Locale guessLocaleFromSession(Session in_session)(Code) | | Try to get user locale from the session, if possible.
IMPLEMENTATION NOTE: this method has explicit support for Tapestry 3, Struts 1.x and Spring
JSF check the browser meta tag "accept languages" to choose what langage to display.
Parameters: in_session - String |
guessUserFromSession | public static Object guessUserFromSession(Session in_session)(Code) | | Try to get user from the session, if possible.
Parameters: in_session - Object |
|
|