相关文章推荐
public interface CorsConfigurationSource
Interface to be implemented by classes (usually HTTP request handlers) that provides a CorsConfiguration instance based on the provided request.
Since:
Author:
Sebastien Deleuze
Description
getCorsConfiguration (jakarta.servlet.http.HttpServletRequest request)
Return a CorsConfiguration based on the incoming request.

getCorsConfiguration

@Nullable CorsConfiguration getCorsConfiguration (jakarta.servlet.http.HttpServletRequest request)
Return a CorsConfiguration based on the incoming request.
Returns:
the associated CorsConfiguration , or null if none
 
推荐文章