接口的使用
cn.taketoday.web.cors.CorsConfigurationSource
使用CorsConfigurationSource的程序包
程序包
说明
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy.Web Handler
Support classes for serving static resources.
-
cn.taketoday.web.cors中CorsConfigurationSource的使用
修饰符和类型类说明classProvide a per requestCorsConfigurationinstance based on a collection ofCorsConfigurationmapped on path patterns. -
cn.taketoday.web.handler中CorsConfigurationSource的使用
修饰符和类型类说明private classprivate class修饰符和类型字段说明private CorsConfigurationSourceCorsHandlerInterceptor.configSourceprivate CorsConfigurationSourceAbstractHandlerMapping.corsConfigurationSource修饰符和类型方法说明CorsHandlerInterceptor.getConfigSource()AbstractHandlerMapping.getCorsConfigurationSource()Return theconfiguredCorsConfigurationSource, if any.修饰符和类型方法说明voidCorsHandlerInterceptor.setConfigSource(CorsConfigurationSource configSource) Configure a customCorsConfigurationSourcevoidAbstractHandlerMapping.setCorsConfigurationSource(CorsConfigurationSource source) Set aCorsConfigurationSourcefor "global" CORS config. -
cn.taketoday.web.resource中CorsConfigurationSource的使用
修饰符和类型类说明classHttpRequestHandlerthat serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc. -
cn.taketoday.web.servlet.filter中CorsConfigurationSource的使用
限定符构造器说明CorsFilter(CorsConfigurationSource configSource) Constructor accepting aCorsConfigurationSourceused by the filter to find theCorsConfigurationto use for each incoming request.