Class DispatcherServletAutoConfiguration.DispatcherServletConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.DispatcherServletConfiguration
- Enclosing class:
- DispatcherServletAutoConfiguration
@Configuration(proxyBeanMethods=false)
@Conditional(org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.DefaultDispatcherServletCondition.class)
@ConditionalOnClass(jakarta.servlet.ServletRegistration.class)
@EnableConfigurationProperties(WebMvcProperties.class)
protected static class DispatcherServletAutoConfiguration.DispatcherServletConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondispatcherServlet
(WebMvcProperties webMvcProperties) multipartResolver
(MultipartResolver resolver)
-
Constructor Details
-
DispatcherServletConfiguration
protected DispatcherServletConfiguration()
-
-
Method Details
-
dispatcherServlet
@Bean(name="dispatcherServlet") public DispatcherServlet dispatcherServlet(WebMvcProperties webMvcProperties) -
multipartResolver
@Bean @ConditionalOnBean(org.springframework.web.multipart.MultipartResolver.class) @ConditionalOnMissingBean(name="multipartResolver") public MultipartResolver multipartResolver(MultipartResolver resolver)
-