org.springframework.web.cors

Interface CorsProcessor

    • Method Detail

      • processRequest

        boolean processRequest(@Nullable
                               CorsConfiguration configuration,
                               HttpServletRequest request,
                               HttpServletResponse response)
                        throws java.io.IOException
        Process a request given a CorsConfiguration.
        Parameters:
        configuration - the applicable CORS configuration (possibly null)
        request - the current request
        response - the current response
        Returns:
        false if the request is rejected, true otherwise
        Throws:
        java.io.IOException