public interface CorsRejection extends CustomRejection
Modifier and Type | Interface and Description |
---|---|
static interface |
CorsRejection.Cause
Signals the cause of the failed CORS request.
|
static interface |
CorsRejection.InvalidHeaders
Signals the CORS request was rejected because its headers were invalid.
|
static interface |
CorsRejection.InvalidMethod
Signals the CORS request was rejected because its method was invalid.
|
static interface |
CorsRejection.InvalidOrigin
Signals the CORS request was rejected because its origin was invalid.
|
static interface |
CorsRejection.Malformed
Signals the CORS request was malformed.
|
Modifier and Type | Method and Description |
---|---|
CorsRejection.Cause |
cause() |
CorsRejection.Cause cause()