# Package org.springframework.web.cors.reactive

@NonNullApi @NonNullFields package org.springframework.web.cors.reactive
Reactive support for CORS (Cross-Origin Resource Sharing), based on a common `CorsProcessor` strategy.

Related Packages
Package
Description
org.springframework.web.cors
Support for CORS (Cross-Origin Resource Sharing), based on a common `CorsProcessor` strategy.
Class
Description
CorsConfigurationSource
Interface to be implemented by classes (usually HTTP request handlers) that provides a `CorsConfiguration` instance based on the provided reactive request.
CorsProcessor
A strategy to apply CORS validation checks and updates to a `ServerWebExchange`, either rejecting through the response or adding CORS related headers, based on a pre-selected `CorsConfiguration`.
CorsUtils
Utility class for CORS reactive request handling based on the CORS W3C recommendation.
CorsWebFilter
`WebFilter` that handles CORS preflight requests and intercepts CORS simple and actual requests thanks to a `CorsProcessor` implementation (`DefaultCorsProcessor` by default) in order to add the relevant CORS response headers (like `Access-Control-Allow-Origin`) using the provided `CorsConfigurationSource` (for example an `UrlBasedCorsConfigurationSource` instance.
DefaultCorsProcessor
The default implementation of `CorsProcessor`, as defined by the CORS W3C recommendation.
PreFlightRequestHandler
Handler for CORS pre-flight requests.
PreFlightRequestWebFilter
WebFilter that handles pre-flight requests through a `PreFlightRequestHandler` and bypasses the rest of the chain.
UrlBasedCorsConfigurationSource
`CorsConfigurationSource` that uses URL patterns to select the `CorsConfiguration` for a request.