Annotation Interface Cors.Defaults

Enclosing class:
Cors

@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public static @interface Cors.Defaults
Enable support for CORS for an endpoint method (such as an OPTIONS handler) and allow default CORS behavior (any origin, any header, any method, no expose headers), do not allow credentials, and max age is set to 1 hour.

If any other annotation from this type is configured on a method, it will use defaults + any annotation modifying the defaults.

DO NOT combine this annotation with any other annotation from this type.