Annotation Interface Cors.AllowMethods

Enclosing class:
Cors

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

    Required Elements
    Modifier and Type
    Required Element
    Description
    A list of supported HTTP request methods.
  • Element Details

    • value

      String[] value
      A list of supported HTTP request methods. In response to pre-flight requests. Corresponds to Access-Control-Allow-Methods.
      Returns:
      allowed methods