@Configuration
public class SalespointWebConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
@Bean
methods for details.Modifier and Type | Field and Description |
---|---|
(package private) List<org.springframework.web.method.support.HandlerMethodArgumentResolver> |
argumentResolvers |
(package private) List<? extends org.springframework.core.convert.converter.Converter<?,?>> |
converters |
Constructor and Description |
---|
SalespointWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Registers the
Salespoint specific HandlerMethodArgumentResolver with Spring MVC. |
void |
addFormatters(org.springframework.format.FormatterRegistry registry)
Registers the
Salespoint specific Converter s with Spring MVC. |
org.thymeleaf.extras.java8time.dialect.Java8TimeDialect |
java8TimeDialect()
Special dialect to support Java 8 type formatting.
|
addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Autowired List<? extends org.springframework.core.convert.converter.Converter<?,?>> converters
@Autowired List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers
@Bean public org.thymeleaf.extras.java8time.dialect.Java8TimeDialect java8TimeDialect()
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Salespoint
specific HandlerMethodArgumentResolver
with Spring MVC.addArgumentResolvers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
LoggedInUserAccountArgumentResolver
public void addFormatters(org.springframework.format.FormatterRegistry registry)
Salespoint
specific Converter
s with Spring MVC.addFormatters
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addFormatters
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
SalespointIdentifierConverter
,
JpaEntityConverter
,
StringToRoleConverter
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.