public static enum WebConfig.ConfigType extends java.lang.Enum<WebConfig.ConfigType>
Enum Constant and Description |
---|
FilterConfig
A configuration type of filter configuration.
|
ServletConfig
A configuration type of servlet configuration.
|
Modifier and Type | Method and Description |
---|---|
static WebConfig.ConfigType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebConfig.ConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebConfig.ConfigType ServletConfig
public static final WebConfig.ConfigType FilterConfig
public static WebConfig.ConfigType[] values()
for (WebConfig.ConfigType c : WebConfig.ConfigType.values()) System.out.println(c);
public static WebConfig.ConfigType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2016 Oracle Corporation. All Rights Reserved.