Annotation Interface Cors.AllowHeaders

Enclosing class:
Cors

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

    Required Elements
    Modifier and Type
    Required Element
    Description
    A list of request headers that are allowed or "*" to allow all headers.
  • Element Details

    • value

      String[] value
      A list of request headers that are allowed or "*" to allow all headers. Corresponds to Access-Control-Allow-Headers.
      Returns:
      allowed headers