Package org.springframework.web.cors
Support for CORS (Cross-Origin Resource Sharing), based on a common
CorsProcessor
strategy.Interface Summary Interface Description CorsConfigurationSource Interface to be implemented by classes (usually HTTP request handlers) that provides aCorsConfiguration
instance based on the provided request.CorsProcessor A strategy that takes a request and aCorsConfiguration
and updates the response.Class Summary Class Description CorsConfiguration A container for CORS configuration along with methods to check against the actual origin, HTTP methods, and headers of a given request.CorsUtils Utility class for CORS request handling based on the CORS W3C recommendation.DefaultCorsProcessor The default implementation ofCorsProcessor
, as defined by the CORS W3C recommendation.UrlBasedCorsConfigurationSource Provide a per requestCorsConfiguration
instance based on a collection ofCorsConfiguration
mapped on path patterns.