@Configuration
public class MvcSpringConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
MvcSpringConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
protected void |
configureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.validation.Validator |
getValidator() |
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter |
jacksonConverter(org.crazyyak.dev.jackson.YakJacksonObjectMapper yakJacksonObjectMapper) |
org.springframework.context.MessageSource |
messageSource() |
org.springframework.web.accept.ContentNegotiationManager |
mvcContentNegotiationManager() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
requestMappingHandlerMapping() |
org.thymeleaf.spring4.SpringTemplateEngine |
templateEngine() |
org.thymeleaf.templateresolver.TemplateResolver |
templateResolver() |
org.crazyyak.dev.jackson.YakJacksonObjectMapper |
yakJacksonObjectMapper() |
addArgumentResolvers, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, defaultServletHandlerMapping, getConfigurableWebBindingInitializer, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, handlerExceptionResolver, httpRequestHandlerAdapter, mvcConversionService, mvcUriComponentsContributor, mvcValidator, requestMappingHandlerAdapter, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingprotected void configureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.crazyyak.dev.jackson.YakJacksonObjectMapper yakJacksonObjectMapper()
public org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager()
mvcContentNegotiationManager in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter jacksonConverter(org.crazyyak.dev.jackson.YakJacksonObjectMapper yakJacksonObjectMapper)
protected void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean(name="messageSource") public org.springframework.context.MessageSource messageSource()
public org.springframework.validation.Validator getValidator()
getValidator in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.thymeleaf.templateresolver.TemplateResolver templateResolver()
@Bean public org.thymeleaf.spring4.SpringTemplateEngine templateEngine()