Class DefaultCorsProcessor

java.lang.Object
org.springframework.web.cors.reactive.DefaultCorsProcessor
All Implemented Interfaces:
CorsProcessor

public class DefaultCorsProcessor extends Object implements CorsProcessor
The default implementation of CorsProcessor, as defined by the CORS W3C recommendation.

Note that when the supplied CorsConfiguration is null, this implementation does not reject simple or actual requests outright but simply avoids adding CORS headers to the response. CORS processing is also skipped if the response already contains CORS headers.

Since:
5.0
Author:
Sebastien Deleuze, Rossen Stoyanchev