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