public final class SessionReader extends java.lang.Object implements SessionReaderI
SessionReaderI contract.
It is instantiated by the Session.getReadOnlyInstance() factory method.
| Constructor and Description |
|---|
SessionReader(Session delegate)
Private constructor to ensure instantiation is managed by the
Session class. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String name)
Retrieves a session-scoped variable by key.
|
java.util.Locale |
getLocale()
Retrieves the current
Locale set for the user's session. |
Benutzer |
getUser()
Returns the currently authenticated user.
|
java.util.Map<java.lang.String,java.lang.Object> |
getVariables()
Returns an unmodifiable view of all currently registered session variables.
|
public Benutzer getUser()
SessionReaderIgetUser in interface SessionReaderIBenutzer instance, or nullpublic java.util.Locale getLocale()
SessionReaderILocale set for the user's session.
This locale is critical for correctly formatting numbers, dates, currency, and handling localized text.
getLocale in interface SessionReaderILocale.public java.util.Map<java.lang.String,java.lang.Object> getVariables()
SessionReaderIThese variables represent typically machine- or user-profile-specific, application settings.
getVariables in interface SessionReaderIpublic java.lang.Object get(java.lang.String name)
SessionReaderIget in interface SessionReaderIname - variable key identifiernull if not foundCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.