@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 |
---|---|
org.springframework.web.servlet.view.BeanNameViewResolver |
beanNameViewResolver() |
org.springframework.web.servlet.View |
defaultErrorView() |
@Bean(name="error") @ConditionalOnMissingBean(name="error") public org.springframework.web.servlet.View defaultErrorView()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.BeanNameViewResolver.class) public org.springframework.web.servlet.view.BeanNameViewResolver beanNameViewResolver()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.