public static enum Context.CORSRequestType extends java.lang.Enum<Context.CORSRequestType>
| Enum Constant and Description |
|---|
ACTUAL |
INVALID_CORS |
NOT_CORS |
PRE_FLIGHT |
SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
static Context.CORSRequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Context.CORSRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.CORSRequestType SIMPLE
public static final Context.CORSRequestType ACTUAL
public static final Context.CORSRequestType PRE_FLIGHT
public static final Context.CORSRequestType NOT_CORS
public static final Context.CORSRequestType INVALID_CORS
public static Context.CORSRequestType[] values()
for (Context.CORSRequestType c : Context.CORSRequestType.values()) System.out.println(c);
public static Context.CORSRequestType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.