public static enum RequestContextWrapper.Mode extends java.lang.Enum<RequestContextWrapper.Mode>
列挙型定数と説明 |
---|
COPY
attributeMapはインスタンス生成時点のスナップショット(シャローコピー)となります。
|
SHARED
attributeMapはラップされるコンテキストと共有されます 。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static RequestContextWrapper.Mode |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static RequestContextWrapper.Mode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final RequestContextWrapper.Mode SHARED
public static final RequestContextWrapper.Mode COPY
public static RequestContextWrapper.Mode[] values()
for(RequestContextWrapper.Mode c: RequestContextWrapper.Mode.values()) System.out.println(c);
public static RequestContextWrapper.Mode valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合