Annotation Interface Cors.AllowOrigins

Enclosing class:
Cors

@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public static @interface Cors.AllowOrigins
Allowed origins.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A list of origins that are allowed such as "http://foo.com" or "*" to allow all origins.
  • Element Details

    • value

      String[] value
      A list of origins that are allowed such as "http://foo.com" or "*" to allow all origins. Corresponds to header Access-Control-Allow-Origin.
      Returns:
      allowed origins