Interface CorsProcessor

    • Method Detail

      • process

        boolean process​(@Nullable
                        CorsConfiguration configuration,
                        ServerWebExchange exchange)
        Process a request using the given CorsConfiguration.
        Parameters:
        configuration - the CORS configuration to use; possibly null in which case pre-flight requests are rejected, but all others allowed.
        exchange - the current exchange
        Returns:
        false if the request was rejected, true otherwise