GrailsDefaultCorsMapping (Grails 3.2.3)
Date: 2016-11-10

Package: grails.web.mapping.cors

## [Groovy] Class GrailsDefaultCorsMapping

- grails.web.mapping.cors.GrailsDefaultCorsMapping

- A class that stores default CORS settings

  Authors:
    James Kleeh
  Since:
    3.2.1

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.lang.Boolean` | `allowCredentials`
    `java.util.List<java.lang.String>` | `allowedHeaders`
    `java.util.List<java.lang.String>` | `allowedMethods`
    `java.util.List<java.lang.String>` | `allowedOrigins`
    `java.util.List<java.lang.String>` | `exposedHeaders`
    `java.lang.Long` | `maxAge`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `org.springframework.web.cors.CorsConfiguration` | `toSpringConfig()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()`

- - ### Property Detail

    - #### java.lang.Boolean allowCredentials

    - #### java.util.List<java.lang.String> allowedHeaders

    - #### java.util.List<java.lang.String> allowedMethods

    - #### java.util.List<java.lang.String> allowedOrigins

    - #### java.util.List<java.lang.String> exposedHeaders

    - #### java.lang.Long maxAge

  - ### Method Detail

    - #### org.springframework.web.cors.CorsConfiguration toSpringConfig()