@Configuration(proxyBeanMethods=false) @Conditional(value=org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.DispatcherServletRegistrationCondition.class) @ConditionalOnClass(value=javax.servlet.ServletRegistration.class) @EnableConfigurationProperties(value=WebMvcProperties.class) @Import(value=DispatcherServletAutoConfiguration.DispatcherServletConfiguration.class) protected static class DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
DispatcherServletRegistrationConfiguration() |
Modifier and Type | Method and Description |
---|---|
DispatcherServletRegistrationBean |
dispatcherServletRegistration(org.springframework.web.servlet.DispatcherServlet dispatcherServlet,
WebMvcProperties webMvcProperties,
org.springframework.beans.factory.ObjectProvider<MultipartConfigElement> multipartConfig) |
protected DispatcherServletRegistrationConfiguration()
@Bean(name="dispatcherServletRegistration") @ConditionalOnBean(value=org.springframework.web.servlet.DispatcherServlet.class, name="dispatcherServlet") public DispatcherServletRegistrationBean dispatcherServletRegistration(org.springframework.web.servlet.DispatcherServlet dispatcherServlet, WebMvcProperties webMvcProperties, org.springframework.beans.factory.ObjectProvider<MultipartConfigElement> multipartConfig)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.