Annotation Interface CorsDecorators
The containing annotation type for
CorsDecorator
.-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Specifies that a CORS request should be rejected if it's invalid before being processed further.
-
Element Details
-
value
CorsDecorator[] valueAn array ofCorsDecorator
s. -
shortCircuit
boolean shortCircuitSpecifies that a CORS request should be rejected if it's invalid before being processed further.CORS headers are set after a request is processed. This may not always be desired and this setting will check that the origin is valid and if it is not valid no further processing will take place, and an error will be returned to the calling client.
- Default:
false
-