protected static enum CorsFilter.CORSRequestType extends Enum<CorsFilter.CORSRequestType>
| Enum Constant and Description | 
|---|
| ACTUALAn HTTP request that needs to be pre-flighted. | 
| INVALID_CORSAn invalid CORS request, i.e. it qualifies to be a CORS request, but
 fails to be a valid one. | 
| NOT_CORSNot a CORS request, but a normal request. | 
| PRE_FLIGHTA pre-flight CORS request, to get meta information, before a
 non-simple HTTP request is sent. | 
| SIMPLEA simple HTTP request, i.e. it shouldn't be pre-flighted. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CorsFilter.CORSRequestType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CorsFilter.CORSRequestType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CorsFilter.CORSRequestType SIMPLE
public static final CorsFilter.CORSRequestType ACTUAL
public static final CorsFilter.CORSRequestType PRE_FLIGHT
public static final CorsFilter.CORSRequestType NOT_CORS
public static final CorsFilter.CORSRequestType INVALID_CORS
public static CorsFilter.CORSRequestType[] values()
for (CorsFilter.CORSRequestType c : CorsFilter.CORSRequestType.values()) System.out.println(c);
public static CorsFilter.CORSRequestType 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 © 2000-2020 Apache Software Foundation. All Rights Reserved.