| Package | Description |
|---|---|
| org.springframework.web.cors.reactive |
Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
| org.springframework.web.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
CorsProcessor |
AbstractHandlerMapping.getCorsProcessor()
Return the configured
CorsProcessor. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHandlerMapping.setCorsProcessor(CorsProcessor corsProcessor)
Configure a custom
CorsProcessor to use to apply the matched
CorsConfiguration for a request. |