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 |
DefaultCorsProcessor
The default implementation of
CorsProcessor ,
as defined by the CORS W3C recommendation. |
Constructor and Description |
---|
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. |