@Documented @Inherited @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface CrossOrigin
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowCredentials |
String[] |
allowedHeaders |
HttpMethod[] |
allowedMethods |
String[] |
allowedOrigins |
String |
allowedOriginsRegex |
String[] |
exposedHeaders |
long |
maxAge |
String[] |
value |
public abstract String allowedOriginsRegex
public abstract String[] allowedHeaders
public abstract String[] exposedHeaders
public abstract HttpMethod[] allowedMethods