public final class ClientSessionStateReader extends java.lang.Object implements ClientSessionStateReaderI
ClientSessionStateReaderI contract.
It is instantiated by the ClientSessionStateI.getReadOnlyInstance() factory method.
| Constructor and Description |
|---|
ClientSessionStateReader(ClientSessionStateI delegate)
Private constructor to ensure instantiation is managed by the
ClientSessionStateI 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 ClientSessionStateReader(ClientSessionStateI delegate)
ClientSessionStateI class.delegate - The mutable Session instance to wrap.public Benutzer getUser()
ClientSessionStateReaderIgetUser in interface ClientSessionStateReaderIBenutzer instance, or nullpublic java.util.Locale getLocale()
ClientSessionStateReaderILocale set for the user's session.
This locale is critical for correctly formatting numbers, dates, currency, and handling localized text.
getLocale in interface ClientSessionStateReaderILocale.public java.util.Map<java.lang.String,java.lang.Object> getVariables()
ClientSessionStateReaderIThese variables represent typically machine- or user-profile-specific, application settings.
getVariables in interface ClientSessionStateReaderIpublic java.lang.Object get(java.lang.String name)
ClientSessionStateReaderIget in interface ClientSessionStateReaderIname - variable key identifiernull if not foundCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.