@Configuration
@EnableAspectJAutoProxy(proxyTargetClass=true)
public class WebConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
WebConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
org.springframework.boot.web.servlet.FilterRegistrationBean |
corsFilterRegistrationBean() |
int |
maxNumberOfCharInTransactionJson() |
MessageErrorMapper |
messageErrorMapper() |
org.springframework.context.MessageSource |
messageSource() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
ParametersFactory |
parametersFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
RequestValidatorService |
requestValidatorService() |
javax.validation.Validator |
validator() |
addArgumentResolvers, addCorsMappings, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.context.MessageSource messageSource()
@Bean @Primary public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean public ParametersFactory parametersFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean public RequestValidatorService requestValidatorService()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public int maxNumberOfCharInTransactionJson()
@Bean public javax.validation.Validator validator()
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean corsFilterRegistrationBean()
@Bean public MessageErrorMapper messageErrorMapper()
public void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2018 Pivotal Software, Inc.. All rights reserved.