@Configuration @ConditionalOnProperty(prefix="server.error.whitelabel", name="enabled", matchIfMissing=true) 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 © 2016 Pivotal Software, Inc.. All rights reserved.