@Published(tag="architect") public class LanguageAttributeInHttpSession extends LanguageAttributeInHttpSupport
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getKeepingLanguage(HttpRequest req,
ServletExecutionContext ctx)
保持している言語を取得する。
|
protected java.lang.String |
getSessionKey()
言語が格納されるセッション上のキー名を取得する。
LanguageAttributeInHttpSession.sessionKeyプロパティが設定されていない場合は、
nablarch.common.handler.threadcontext.LanguageAttribute#getKey()の値を使用する。 |
protected void |
keepLanguage(HttpRequest req,
ServletExecutionContext ctx,
java.lang.String language)
ユーザが選択した言語を保持する。
|
void |
setSessionKey(java.lang.String sessionKey)
言語が格納されるセッション上のキー名を設定する。
|
getLocalegetKey, getValuepublic void setSessionKey(java.lang.String sessionKey)
sessionKey - 言語が格納されるセッション上のキー名protected void keepLanguage(HttpRequest req, ServletExecutionContext ctx, java.lang.String language)
LanguageAttributeInHttpSupportkeepLanguage in class LanguageAttributeInHttpSupportreq - リクエストctx - 実行コンテキストlanguage - ユーザが選択した言語protected java.lang.String getKeepingLanguage(HttpRequest req, ServletExecutionContext ctx)
LanguageAttributeInHttpSupportgetKeepingLanguage in class LanguageAttributeInHttpSupportreq - リクエストctx - 実行コンテキストprotected java.lang.String getSessionKey()
LanguageAttributeInHttpSession.sessionKeyプロパティが設定されていない場合は、
nablarch.common.handler.threadcontext.LanguageAttribute#getKey()の値を使用する。