接口 CorsConfigurationSource
- 所有已知实现类:
AbstractHandlerMapping.CorsInterceptor,AbstractHandlerMapping.PreFlightHandler,ResourceHttpRequestHandler,UrlBasedCorsConfigurationSource
public interface CorsConfigurationSource
Interface to be implemented by classes (usually HTTP request handlers) that
provides a
CorsConfiguration instance based on the provided request.- 作者:
- Sebastien Deleuze, TODAY 2020/12/8 22:29
-
方法概要
修饰符和类型方法说明getCorsConfiguration(RequestContext request) Return aCorsConfigurationbased on the incoming request.
-
方法详细资料
-
getCorsConfiguration
Return aCorsConfigurationbased on the incoming request.- 返回:
- the associated
CorsConfiguration, ornullif none
-