@Configuration @ComponentScan(value="eu.profinit.manta.bachelor.thesis.log.viewer.logic.controllers") @EnableWebMvc public class ControllersConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Constructor and Description |
---|
ControllersConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
Set swagger resources
|
org.springframework.validation.beanvalidation.MethodValidationPostProcessor |
methodValidationPostProcessor()
Request params validator
|
org.springframework.web.multipart.commons.CommonsMultipartResolver |
multipartResolver()
Bean allowing uploading a file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean public org.springframework.web.multipart.commons.CommonsMultipartResolver multipartResolver()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
registry
- spring resouce handler registry@Bean public org.springframework.validation.beanvalidation.MethodValidationPostProcessor methodValidationPostProcessor()
Copyright © 2020. All rights reserved.