oracle.dbtools.plugin.api.http.annotations

## Annotation Type CORS

-     @Retention(value=RUNTIME)
       @Target(value={TYPE,PACKAGE})
       @Documented
      public @interface CORS

  Defines `CrossOriginSharingPolicy` default policy for all annotated types or packages.
  Author:
    cdivilly

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `allowedOrigins` The set of Web Origins that are permitted to access this resource
    `CrossOriginSharingPolicy` | `value` The `CrossOriginSharingPolicy`

- - ### Element Detail

    - #### value

          public abstract CrossOriginSharingPolicy value

      The `CrossOriginSharingPolicy`
      Returns:
        `CrossOriginSharingPolicy` instance
      Default:
        oracle.dbtools.plugin.api.http.annotations.CrossOriginSharingPolicy.ALLOW

  - - #### allowedOrigins

          public abstract String[] allowedOrigins

      The set of Web Origins that are permitted to access this resource
      Returns:
        Array of Web Origins
      Default:
        {}

Copyright © 2010, 2022, Oracle and/or its affiliates.