public enum CorsHeaders extends Enum<CorsHeaders>
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static CorsHeaders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorsHeaders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorsHeaders ACCESS_CONTROL_EXPOSE_HEADERS
public static final CorsHeaders ACCESS_CONTROL_ALLOW_HEADERS
public static final CorsHeaders ACCESS_CONTROL_ALLOW_METHODS
public static final CorsHeaders ACCESS_CONTROL_MAX_AGE
public static final CorsHeaders ACCESS_CONTROL_ALLOW_ORIGIN
public static final CorsHeaders ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final CorsHeaders ACCESS_CONTROL_REQUEST_HEADERS
public static final CorsHeaders ACCESS_CONTROL_REQUEST_METHOD
public static final CorsHeaders ORIGIN
public static CorsHeaders[] values()
for (CorsHeaders c : CorsHeaders.values()) System.out.println(c);
public static CorsHeaders 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 value()
Copyright © 2016 Atlassian. All rights reserved.