@Configuration @ConditionalOnProperty(prefix="server.error.whitelabel", name="enabled", matchIfMissing=true) @Conditional(value=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.ErrorTemplateMissingCondition.class) protected static class ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
WhitelabelErrorViewConfiguration() |
Modifier and Type | Method and Description |
---|---|
BeanNameViewResolver |
beanNameViewResolver() |
View |
defaultErrorView() |
@Bean(name="error") @ConditionalOnMissingBean(name="error") public View defaultErrorView()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.BeanNameViewResolver.class) public BeanNameViewResolver beanNameViewResolver()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.