Example usage for Java org.springframework.web.cors.reactive CorsUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isCorsRequest(ServerHttpRequest request) Returns true if the request is a valid CORS one by checking Origin header presence and ensuring that origins are different via #isSameOrigin . |
boolean | isPreFlightRequest(ServerHttpRequest request) Returns true if the request is a valid CORS pre-flight one. |
boolean | isSameOrigin(ServerHttpRequest request) Check if the request is a same-origin one, based on Origin , and Host headers. |