public enum Header extends Enum<Header>
| Modifier and Type | Method and Description |
|---|---|
String |
fieldName()
Returns fieldName.
|
static Header |
fromFieldName(String fieldName)
Finds value whose fieldName matched with given
fieldName. |
static Header |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Header NAME
public static final Header INIT
public static final Header CODE
public static final Header AUTH
public static Header[] values()
for (Header c : Header.values()) System.out.println(c);
public static Header 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 static Header fromFieldName(String fieldName)
fieldName.fieldName - HTTP header field name.public String fieldName()
Copyright © 2011-2012. All Rights Reserved.