Class SessionUtils
java.lang.Object
org.apache.catalina.manager.util.SessionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic longgetInactiveTimeForSession(Session in_session) static longgetTTLForSession(Session in_session) static longgetUsedTimeForSession(Session in_session) static LocaleguessLocaleFromSession(HttpSession in_session) static LocaleguessLocaleFromSession(Session in_session) Try to get user locale from the session, if possible.static ObjectguessUserFromSession(Session in_session) Try to get user from the session, if possible.
-
Method Details
-
guessLocaleFromSession
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 language to display.- Parameters:
in_session- The session- Returns:
- the locale
-
guessLocaleFromSession
-
guessUserFromSession
-
getUsedTimeForSession
-
getTTLForSession
-
getInactiveTimeForSession
-