protected static enum HeaderFilter.CORSRequestType extends java.lang.Enum<HeaderFilter.CORSRequestType>
| Enum Constant and Description |
|---|
ACTUAL
A HTTP request that needs to be pre-flighted.
|
INVALID_CORS
An invalid CORS request, i.e.
|
NOT_CORS
Not a CORS request, but a normal request.
|
PRE_FLIGHT
A pre-flight CORS request, to get meta information, before a
non-simple HTTP request is sent.
|
SIMPLE
A simple HTTP request, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static HeaderFilter.CORSRequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeaderFilter.CORSRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderFilter.CORSRequestType SIMPLE
public static final HeaderFilter.CORSRequestType ACTUAL
public static final HeaderFilter.CORSRequestType PRE_FLIGHT
public static final HeaderFilter.CORSRequestType NOT_CORS
public static final HeaderFilter.CORSRequestType INVALID_CORS
public static HeaderFilter.CORSRequestType[] values()
for (HeaderFilter.CORSRequestType c : HeaderFilter.CORSRequestType.values()) System.out.println(c);
public static HeaderFilter.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 null