@Configuration
@ConditionalOnWebApplication
@ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class})
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
@EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.web.ResourceProperties.class)
public class WebAutoConfiguration
extends Object
| 构造器和说明 |
|---|
WebAutoConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver>> errorViewResolversProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController |
customizeErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes) |
public WebAutoConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver>> errorViewResolversProvider)
Copyright © 2020. All rights reserved.