@groovy.transform.CompileStatic @org.springframework.boot.context.properties.ConfigurationProperties(prefix: grails.cors) class GrailsCorsConfiguration extends java.lang.Object
A bean that stores config and converts it to the format expected by Spring
Modifiers | Name | Description |
---|---|---|
private java.lang.Boolean |
enabled |
|
private GrailsDefaultCorsConfiguration |
grailsCorsMapping |
|
private java.util.Map<java.lang.String, java.lang.Object> |
mappings |
Type | Name and description |
---|---|
java.lang.Boolean |
enabled |
GrailsDefaultCorsConfiguration |
grailsCorsMapping |
java.util.Map<java.lang.String, java.lang.Object> |
mappings |
Constructor and description |
---|
GrailsCorsConfiguration
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Map<java.lang.String, org.springframework.web.cors.CorsConfiguration> |
getCorsConfigurations() |
|
private java.util.List<java.lang.String> |
parseConfigList(TypeConvertingMap config, java.lang.String key, java.util.function.Consumer<java.util.List<java.lang.String>> setter) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation