@Published(tag="architect") public class LanguageAttributeInHttpSession extends LanguageAttributeInHttpSupport
| コンストラクタと説明 |
|---|
LanguageAttributeInHttpSession() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.lang.String |
getKeepingLanguage(HttpRequest req,
ServletExecutionContext ctx)
保持している言語を取得する。
|
protected java.lang.String |
getSessionKey()
言語が格納されるセッション上のキー名を取得する。
|
protected void |
keepLanguage(HttpRequest req,
ServletExecutionContext ctx,
java.lang.String language)
ユーザが選択した言語を保持する。
|
void |
setSessionKey(java.lang.String sessionKey)
言語が格納されるセッション上のキー名を設定する。
|
getLocalegetAcceptLanguage, getValue, isSupportedLanguage, setSupportedLanguagesgetKey, setDefaultLanguagepublic void setSessionKey(java.lang.String sessionKey)
sessionKey - 言語が格納されるセッション上のキー名protected void keepLanguage(HttpRequest req, ServletExecutionContext ctx, java.lang.String language)
LanguageAttributeInHttpSupportkeepLanguage クラス内 LanguageAttributeInHttpSupportreq - リクエストctx - 実行コンテキストlanguage - ユーザが選択した言語protected java.lang.String getKeepingLanguage(HttpRequest req, ServletExecutionContext ctx)
LanguageAttributeInHttpSupportgetKeepingLanguage クラス内 LanguageAttributeInHttpSupportreq - リクエストctx - 実行コンテキストprotected java.lang.String getSessionKey()
sessionKeyプロパティが設定されていない場合は、
nablarch.common.handler.threadcontext.LanguageAttribute#getKey()の値を使用する。