Package org.springframework.web.cors
@NonNullApi
@NonNullFields
package org.springframework.web.cors
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.-
ClassDescriptionA container for CORS configuration along with methods to check against the actual origin, HTTP methods, and headers of a given request.Interface to be implemented by classes (usually HTTP request handlers) that provides a
CorsConfiguration
instance based on the provided request.A strategy that takes a request and aCorsConfiguration
and updates the response.Utility class for CORS request handling based on the CORS W3C recommendation.The default implementation ofCorsProcessor
, as defined by the CORS W3C recommendation.CorsConfigurationSource
that uses URL path patterns to select theCorsConfiguration
for a request.