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
CorsConfigurationinstance based on the provided request.A strategy that takes a request and aCorsConfigurationand 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.CorsConfigurationSourcethat uses URL path patterns to select theCorsConfigurationfor a request.