public enum ScopeTypeEnum extends Enum<ScopeTypeEnum>
| Enum Constant and Description |
|---|
APPLICATION
应用服务器重启或停止后清除
|
OUTPUT_STREAM
输出流IO
|
REQUEST
请求响应后自动消除
|
SESSION
请求会话结束后清除
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static ScopeTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeTypeEnum REQUEST
public static final ScopeTypeEnum OUTPUT_STREAM
public static final ScopeTypeEnum SESSION
public static final ScopeTypeEnum APPLICATION
public final String value
public static ScopeTypeEnum[] values()
for (ScopeTypeEnum c : ScopeTypeEnum.values()) System.out.println(c);
public static ScopeTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2016 jufeng. All rights reserved.