@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={javax.servlet.Servlet.classEE,org.springframework.web.servlet.DispatcherServlet.class}) @AutoConfigureBefore(value=WebMvcAutoConfiguration.class) @EnableConfigurationProperties(value={ServerProperties.class,WebMvcProperties.class}) public class ErrorMvcAutoConfiguration extends ObjectSE
Auto-configuration
。修飾子と型 | クラスと説明 |
---|---|
protected static class | ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration |
コンストラクターと説明 |
---|
ErrorMvcAutoConfiguration(ServerProperties serverProperties) |
修飾子と型 | メソッドと説明 |
---|---|
BasicErrorController | basicErrorController(ErrorAttributes errorAttributes, ObjectProvider<ErrorViewResolver> errorViewResolvers) |
DefaultErrorAttributes | errorAttributes() |
org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.ErrorPageCustomizer | errorPageCustomizer(DispatcherServletPath dispatcherServletPath) |
static org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.PreserveErrorControllerTargetClassPostProcessor | preserveErrorControllerTargetClassPostProcessor() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ErrorMvcAutoConfiguration(ServerProperties serverProperties)
@Bean @ConditionalOnMissingBean(value=ErrorAttributes.class, search=CURRENT) public DefaultErrorAttributes errorAttributes()
@Bean @ConditionalOnMissingBean(value=ErrorController.class, search=CURRENT) public BasicErrorController basicErrorController(ErrorAttributes errorAttributes, ObjectProvider<ErrorViewResolver> errorViewResolvers)
@Bean public org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.ErrorPageCustomizer errorPageCustomizer(DispatcherServletPath dispatcherServletPath)
@Bean public static org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.PreserveErrorControllerTargetClassPostProcessor preserveErrorControllerTargetClassPostProcessor()