Class DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration
- Enclosing class:
- DispatcherServletAutoConfiguration
@Configuration(proxyBeanMethods=false)
@Conditional(org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.DispatcherServletRegistrationCondition.class)
@ConditionalOnClass(jakarta.servlet.ServletRegistration.class)
@EnableConfigurationProperties(WebMvcProperties.class)
@Import(DispatcherServletConfiguration.class)
protected static class DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondispatcherServletRegistration
(DispatcherServlet dispatcherServlet, WebMvcProperties webMvcProperties, ObjectProvider<MultipartConfigElement> multipartConfig)
-
Constructor Details
-
DispatcherServletRegistrationConfiguration
protected DispatcherServletRegistrationConfiguration()
-
-
Method Details
-
dispatcherServletRegistration
@Bean(name="dispatcherServletRegistration") @ConditionalOnBean(value=org.springframework.web.servlet.DispatcherServlet.class, name="dispatcherServlet") public DispatcherServletRegistrationBean dispatcherServletRegistration(DispatcherServlet dispatcherServlet, WebMvcProperties webMvcProperties, ObjectProvider<MultipartConfigElement> multipartConfig)
-