public static enum CorsPolicyHandler.CorsResult extends Enum<CorsPolicyHandler.CorsResult>
| Enum Constant and Description |
|---|
ALLOWED |
NOT_ALLOWED_CORS |
NOT_ALLOWED_HEADER |
NOT_ALLOWED_METHOD |
NOT_ALLOWED_ORIGIN |
| Modifier and Type | Method and Description |
|---|---|
static CorsPolicyHandler.CorsResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorsPolicyHandler.CorsResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorsPolicyHandler.CorsResult ALLOWED
public static final CorsPolicyHandler.CorsResult NOT_ALLOWED_ORIGIN
public static final CorsPolicyHandler.CorsResult NOT_ALLOWED_METHOD
public static final CorsPolicyHandler.CorsResult NOT_ALLOWED_HEADER
public static final CorsPolicyHandler.CorsResult NOT_ALLOWED_CORS
public static CorsPolicyHandler.CorsResult[] values()
for (CorsPolicyHandler.CorsResult c : CorsPolicyHandler.CorsResult.values()) System.out.println(c);
public static CorsPolicyHandler.CorsResult 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 © 2018. All rights reserved.