public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) org.springframework.http.converter.HttpMessageConverter<String> |
converter |
| 构造器和说明 |
|---|
WebConfig(org.springframework.http.converter.HttpMessageConverter<String> converter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorfinal org.springframework.http.converter.HttpMessageConverter<String> converter
public WebConfig(org.springframework.http.converter.HttpMessageConverter<String> converter)
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2021. All rights reserved.