Package de.uplanet.lucy.server
Klasse ContextLocale
java.lang.Object
de.uplanet.lucy.server.ContextLocale
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ILocaleget(IServerBridgeRequest p_request, ISession p_session) Get the locale that's associated with the current execution context.static ILocaleget(IProcessingContext p_ctx) static ILocaleGet the locale that's associated with the current execution context.
-
Methodendetails
-
get
- Parameter:
p_ctx- The processing context (could benull). Get the locale for the given processing context.- Siehe auch:
-
get
Get the locale that's associated with the current execution context.The returned value is given by, in order,
- the request's cookie
COOKIE.LOCALE, - the given session's
SESSVAR.LOCALE, - the given session user's
defaultLocale, if it exists, or - the value given by
DefaultLocale.get().
- Parameter:
p_request- A request object, ornull.p_session- A session object, ornull.- Gibt zurück:
- A locale.
- the request's cookie
-
get
Get the locale that's associated with the current execution context.The returned value is given by, in order,
- the request's cookie
COOKIE.LOCALE, - the given session's
SESSVAR.LOCALE, - the given session user's
defaultLocale, if it exists, or - the value given by
DefaultLocale.get().
- Parameter:
p_request- A request object, ornull.p_session- A session object, ornull.- Gibt zurück:
- A locale.
- the request's cookie
-