public class DefaultSessionPropertyHandler extends Object implements SessionPropertyHandler
キー | 内容 |
---|---|
factory.name | SessionFactory のクラス名 |
object.param | リクエストに渡すセッションIDのパラメータ名 |
error.page.path | セッションエラー(セッションタイムアウト等)のときに表示するページのパス |
object.key | リクエストの属性にSessionObject を保存する時のキー |
reserved.user.key | SessionObject の属性に設定されているユーザIDのキー |
reserved.group.key | SessionObject の属性に設定されているログイングループIDのキー |
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
DEFAULT_BUNDLE_NAME
デフォルトのリソースバンドル名
|
static String |
DEFAULT_BUNDLE_NAME_PARAM
リソースバンドル名のパラメータ名
|
コンストラクタと説明 |
---|
DefaultSessionPropertyHandler()
DefaultSessionPropertyHandlerを新規に生成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getLoginGroupIDKey()
セッションに登録されているログイングループIDのキーを取得します。
|
String |
getLoginUserIDKey()
セッションに登録されているログインユーザIDのキーを取得します。
|
String |
getSessionErrorPagePath()
セッションエラーページのパスを取得します。
|
String |
getSessionFactoryName()
非推奨です。
セッションとしてはHttpSessionを直接利用するようにしてください。
|
String |
getSessionObjectKey()
非推奨です。
HttpSessionを直接取得するようにしてください。
|
String |
getSessionParameter()
非推奨です。
HttpSessionを直接使用する場合、このメソッドは不要になります。
|
void |
init(PropertyParam[] params)
プロパティハンドラを初期化します。
|
public DefaultSessionPropertyHandler()
public void init(PropertyParam[] params) throws PropertyHandlerException
init
インタフェース内 PropertyHandler
params
- 初期パラメータPropertyHandlerException
- プロパティハンドラの初期化時に例外が発生public String getSessionFactoryName() throws SessionPropertyException
getSessionFactoryName
インタフェース内 SessionPropertyHandler
SessionPropertyException
- セッションファクトリのクラス名の取得時に例外が発生public String getSessionParameter() throws SessionPropertyException
getSessionParameter
インタフェース内 SessionPropertyHandler
SessionPropertyException
- セッションIDのパラメータ名の取得時に例外が発生public String getSessionObjectKey() throws SessionPropertyException
getSessionObjectKey
インタフェース内 SessionPropertyHandler
SessionPropertyException
- セッションオブジェクトのキーの取得時に例外が発生public String getLoginUserIDKey() throws SessionPropertyException
getLoginUserIDKey
インタフェース内 SessionPropertyHandler
SessionPropertyException
- 属性名の取得時に例外が発生public String getLoginGroupIDKey() throws SessionPropertyException
getLoginGroupIDKey
インタフェース内 SessionPropertyHandler
SessionPropertyException
- 属性名の取得時に例外が発生public String getSessionErrorPagePath() throws SessionPropertyException
getSessionErrorPagePath
インタフェース内 SessionPropertyHandler
SessionPropertyException
- セッションエラーページのパスの取得時に例外が発生Copyright © 2012 NTT DATA INTRAMART CORPORATION