T
- コンテキスト種別を表すクラスを指定します。public abstract class SessionContextSupport<T extends Context> extends RequestContextSupport<T>
修飾子 | コンストラクタと説明 |
---|---|
protected |
SessionContextSupport(T context,
javax.servlet.http.HttpServletRequest request)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected T |
getContextFromSession()
セッションからアクセスコンテキストを取得します。
|
protected <V> V |
getSessionValue(String key)
セッションから属性を取得します。
|
protected void |
removeSessionValue(String key)
セッションから属性を削除します。
|
protected void |
setContextToSession(T context)
セッションにアクセスコンテキストを格納します
|
protected void |
setSessionValue(String key,
Object value)
セッションに属性を設定します。
|
getRequest, setRequest
getInternal, setInternal
protected SessionContextSupport(T context, javax.servlet.http.HttpServletRequest request)
context
- 拡張元のアクセスコンテキストrequest
- HTTPリクエストprotected T getContextFromSession()
protected <V> V getSessionValue(String key)
V
- セッション属性値の型を指定します。key
- セッション属性のキーprotected void removeSessionValue(String key)
key
- セッション属性のキーprotected void setContextToSession(T context)
context
- アクセスコンテキストCopyright © 2012 NTT DATA INTRAMART CORPORATION