Package | Description |
---|---|
org.springframework.web.cors.reactive |
Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
Modifier and Type | Class and Description |
---|---|
class |
UrlBasedCorsConfigurationSource
Provide a per reactive request
CorsConfiguration instance based on a
collection of CorsConfiguration mapped on path patterns. |
Constructor and Description |
---|
CorsWebFilter(CorsConfigurationSource configSource)
Constructor accepting a
CorsConfigurationSource used by the filter
to find the CorsConfiguration to use for each incoming request. |
CorsWebFilter(CorsConfigurationSource configSource,
CorsProcessor processor)
Constructor accepting a
CorsConfigurationSource used by the filter
to find the CorsConfiguration to use for each incoming request and a
custom CorsProcessor to use to apply the matched
CorsConfiguration for a request. |