Package org.imageconverter.config
Class WebConfig
java.lang.Object
org.imageconverter.config.WebConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableWebSecurity
@EnableWebMvc
@EnableAspectJAutoProxy
@EnableConfigurationProperties
@EnableTransactionManagement
public class WebConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Web configuration bean.
- Author:
- Fernando Romulo da Silva
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceHandlers
(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) void
configurePathMatch
(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver
-
Constructor Details
-
WebConfig
public WebConfig()
-
-
Method Details
-
configurePathMatch
public void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) - Specified by:
configurePathMatch
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
getValidator
@Bean @Primary public org.springframework.validation.beanvalidation.LocalValidatorFactoryBean getValidator()- Specified by:
getValidator
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-