添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
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