public enum CorsFilterResponse extends Enum<CorsFilterResponse>
| Enum Constant and Description |
|---|
HEADERS_ALREADY_SENT |
INVALID_CORS_REQUEST |
NOT_CORS |
PREFLIGHT |
SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
static CorsFilterResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorsFilterResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorsFilterResponse INVALID_CORS_REQUEST
public static final CorsFilterResponse SIMPLE
public static final CorsFilterResponse PREFLIGHT
public static final CorsFilterResponse NOT_CORS
public static final CorsFilterResponse HEADERS_ALREADY_SENT
public static CorsFilterResponse[] values()
for (CorsFilterResponse c : CorsFilterResponse.values()) System.out.println(c);
public static CorsFilterResponse 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 © 2019. All rights reserved.