Annotation Type CORS


  • @Retention(RUNTIME)
    @Target({TYPE,PACKAGE})
    @Documented
    public @interface CORS
    Defines CrossOriginSharingPolicy default policy for all annotated types or packages.
    Author:
    cdivilly
      • allowedOrigins

        java.lang.String[] allowedOrigins
        The set of Web Origins that are permitted to access this resource
        Returns:
        Array of Web Origins
        Default:
        {}