程序包的使用
cn.taketoday.web.cors
使用cn.taketoday.web.cors的程序包
程序包
说明
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy.Web Handler
Method handler
Support classes for serving static resources.
-
类说明A container for CORS configuration along with methods to check against the actual origin, HTTP methods, and headers of a given request.
-
类说明A container for CORS configuration along with methods to check against the actual origin, HTTP methods, and headers of a given request.Contains both the user-declared pattern (e.g.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. -
类说明A 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.The default implementation ofCorsProcessor, as defined by the CORS W3C recommendation. -
类说明A container for CORS configuration along with methods to check against the actual origin, HTTP methods, and headers of a given request.
-
类说明A 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. -
类说明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.