@NonNullApi @NonNullFields
CorsProcessor strategy.See: Description
| Interface | 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 that takes a reactive HTTP exchange and a
CorsConfiguration and
updates the response. |
| Class | Description |
|---|---|
| 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. |
| UrlBasedCorsConfigurationSource |
Provide a per reactive request
CorsConfiguration instance based on a
collection of CorsConfiguration mapped on path patterns. |
CorsProcessor strategy.