public static enum HeaderType.Input extends Enum<HeaderType.Input>
Enum Constant and Description |
---|
ALWAYS
Always consumes header.
|
NEVER
Never consumes header.
|
OPTIONAL
Consumes only if matched.
|
Modifier and Type | Method and Description |
---|---|
static HeaderType.Input |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderType.Input[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderType.Input NEVER
public static final HeaderType.Input ALWAYS
public static final HeaderType.Input OPTIONAL
public static HeaderType.Input[] values()
for (HeaderType.Input c : HeaderType.Input.values()) System.out.println(c);
public static HeaderType.Input 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 nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.