Annotation Interface CORS
Defines
CrossOriginSharingPolicy default policy for all annotated
types or packages.- Author:
- cdivilly
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]The set of Web Origins that are permitted to access this resourceSpecifies the source of dynamically allowed origins for cross-origin requests.
-
Element Details
-
value
CrossOriginSharingPolicy value- Returns:
CrossOriginSharingPolicyinstance
- Default:
- ALLOW
-
allowedOrigins
String[] allowedOriginsThe set of Web Origins that are permitted to access this resource- Returns:
- Array of Web Origins
- Default:
- {}
-
dynamicAllowedOriginsSource
String dynamicAllowedOriginsSourceSpecifies the source of dynamically allowed origins for cross-origin requests. This attribute can be used to configure the dynamic allowed origins for resources annotated with this CORS policy.- Returns:
- the source of dynamically allowed origins, or an empty string if not specified
- Default:
- ""
-