程序包的使用
cn.taketoday.web.config
使用cn.taketoday.web.config的程序包
-
类说明Helps with configuring options for asynchronous request processing.Creates a
ContentNegotiationManagerand configures it with one or moreContentNegotiationStrategyinstances.Assists with the creation of aCorsConfigurationinstance for a given URL path pattern.Assists with the registration of global, URL pattern basedCorsConfigurationmappings.Configures a request handler for serving static resources by forwarding the request to the Servlet container's "default" Servlet.Assists with the creation of aMappedInterceptor.Helps with configuring a list of mapped interceptors.Assist with configuringHandlerMapping's with path matching options.Assist with the registration of a single redirect view controller.Assists with the registration of resource resolvers and transformers.Encapsulates information required to create a resource handler.Stores registrations of resource handlers for serving static resources such as images, css files and others through Web MVC including setting cache headers optimized for efficient loading in a web browser.Assist with configuring aUrlBasedViewResolver.Assist with the registration of a single view controller.Assists with the registration of simple automated controllers pre-configured with status code and/or a view.Assist with the configuration of a chain ofViewResolverinstances.This is the main class providing the configuration behind the MVC Java config.Defines callback methods to customize the Java-based configuration for framework enabled via@EnableWebMvc.