@Retention(value=RUNTIME) @Target(value={TYPE,PACKAGE}) @Documented public @interface CORS
CrossOriginSharingPolicy
default policy for all annotated types or packages.Modifier and Type | Optional Element and Description |
---|---|
String[] |
allowedOrigins
The set of Web Origins that are permitted to access this resource
|
CrossOriginSharingPolicy |
value
|
public abstract CrossOriginSharingPolicy value
CrossOriginSharingPolicy
instancepublic abstract String[] allowedOrigins