Interface ThreadContextAttribute<T>
- Type Parameters:
T- ハンドラの入力データの型
- All Known Implementing Classes:
ExecutionIdAttribute,HttpLanguageAttribute,InternalRequestIdAttribute,LanguageAttribute,LanguageAttributeInHttpCookie,LanguageAttributeInHttpSession,LanguageAttributeInHttpSupport,RequestIdAttribute,TimeZoneAttribute,TimeZoneAttributeInHttpCookie,TimeZoneAttributeInHttpSession,TimeZoneAttributeInHttpSupport,UserIdAttribute,UserIdAttributeInSessionStore
ThreadContextに設定する属性を返すインタフェース。
本インタフェースを実装したクラスは、スレッドコンテキストに設定する値を取得する責務を持つ。- Author:
- Iwauo Tajima
- See Also:
-
Method Summary
-
Method Details
-
getKey
String getKey()スレッドコンテキストに格納する際に使用するプロパティのキー名を返す。- Returns:
- プロパティのキー名
-
getValue
スレッドコンテキストに格納するプロパティの値を返す。- Parameters:
req- ハンドラの入力データctx- 実行コンテキスト情報- Returns:
- プロパティの値
-