CorsCallback
constructor(allowedOrigin: String = "*", allowedMethods: Set<HttpMethod> = ALL, allowedHeaders: Set<String> = emptySet(), exposedHeaders: Set<String> = emptySet(), supportCredentials: Boolean = true, preFlightStatus: HttpStatus = NO_CONTENT_204, preFlightMaxAge: Long = 0)
constructor(allowedOrigin: Regex, allowedMethods: Set<HttpMethod> = ALL, allowedHeaders: Set<String> = emptySet(), exposedHeaders: Set<String> = emptySet(), supportCredentials: Boolean = true, preFlightStatus: HttpStatus = NO_CONTENT_204, preFlightMaxAge: Long = 0)