类 WebConfigurer
java.lang.Object
com.cdkjframework.core.spring.web.WebConfigurer
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Component
public class WebConfigurer
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addResourceHandlers
(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) 添加资源处理程序void
extendMessageConverters
(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) 扩展消息转换器从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidator
-
构造器详细资料
-
WebConfigurer
public WebConfigurer()
-
-
方法详细资料
-
addResourceHandlers
public void addResourceHandlers(@NonNull org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) 添加资源处理程序- 指定者:
addResourceHandlers
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 参数:
registry
- 注册
-
extendMessageConverters
public void extendMessageConverters(@NonNull List<org.springframework.http.converter.HttpMessageConverter<?>> converters) 扩展消息转换器- 指定者:
extendMessageConverters
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 参数:
converters
- 转换器
-