java.io.Serializable
public class CorsException extends AspectranCheckedException
Modifier and Type | Field | Description |
---|---|---|
static CorsException |
INVALID_ACTUAL_REQUEST |
Invalid simple / actual request.
|
static CorsException |
INVALID_PREFLIGHT_REQUEST |
Invalid preflight request.
|
static CorsException |
MISSING_ACCESS_CONTROL_REQUEST_METHOD_HEADER |
Missing Access-Control-Request-Method header.
|
static CorsException |
ORIGIN_DENIED |
CORS origin denied exception.
|
static CorsException |
UNSUPPORTED_METHOD |
Unsupported HTTP method.
|
static CorsException |
UNSUPPORTED_REQUEST_HEADER |
Unsupported HTTP request header.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getHttpStatusCode() |
Returns the associated HTTP status code.
|
public static final CorsException ORIGIN_DENIED
public static final CorsException UNSUPPORTED_METHOD
public static final CorsException UNSUPPORTED_REQUEST_HEADER
public static final CorsException INVALID_ACTUAL_REQUEST
public static final CorsException INVALID_PREFLIGHT_REQUEST
public static final CorsException MISSING_ACCESS_CONTROL_REQUEST_METHOD_HEADER
Copyright © 2008–2018 The Aspectran Project. All rights reserved.