public static enum Cors.RequestHeader extends Enum<Cors.RequestHeader>
| Modifier and Type | Field and Description |
|---|---|
private String |
headerName |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Cors.RequestHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cors.RequestHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cors.RequestHeader ORIGIN
public static final Cors.RequestHeader OPTIONS
public static final Cors.RequestHeader METHOD
public static final Cors.RequestHeader HEADERS
private final String headerName
public static Cors.RequestHeader[] values()
for (Cors.RequestHeader c : Cors.RequestHeader.values()) System.out.println(c);
public static Cors.RequestHeader 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 toString()
toString in class Enum<Cors.RequestHeader>Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.