@Published(tag="architect") public class TimeZoneAttributeInHttpSession extends TimeZoneAttributeInHttpSupport
修飾子とタイプ | メソッドと説明 |
---|---|
protected String |
getKeepingTimeZone(HttpRequest req,
ServletExecutionContext ctx)
保持しているタイムゾーンを取得する。
|
protected String |
getSessionKey()
タイムゾーンが格納されるセッション上のキー名を取得する。
|
protected void |
keepTimeZone(HttpRequest req,
ServletExecutionContext ctx,
String timeZone)
ユーザが選択したタイムゾーンを保持する。
|
void |
setSessionKey(String sessionKey)
タイムゾーンが格納されるセッション上のキー名を設定する。
|
getTimeZone, getValue, isSupportedTimeZone, setSupportedTimeZones
getKey
public void setSessionKey(String sessionKey)
sessionKey
- タイムゾーンが格納されるセッション上のキー名protected void keepTimeZone(HttpRequest req, ServletExecutionContext ctx, String timeZone)
TimeZoneAttributeInHttpSupport
keepTimeZone
クラス内 TimeZoneAttributeInHttpSupport
req
- リクエストctx
- 実行コンテキストtimeZone
- ユーザが選択したタイムゾーンprotected String getKeepingTimeZone(HttpRequest req, ServletExecutionContext ctx)
TimeZoneAttributeInHttpSupport
getKeepingTimeZone
クラス内 TimeZoneAttributeInHttpSupport
req
- リクエストctx
- 実行コンテキストprotected String getSessionKey()
TimeZoneAttributeInHttpSession.sessionKey
プロパティが設定されていない場合は、
nablarch.common.handler.threadcontext.TimeZoneAttribute#getKey()の値を使用する。