Class ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration
java.lang.Object
org.springframework.boot.webmvc.autoconfigure.error.ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration
- Enclosing class:
ErrorMvcAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnBooleanProperty(name="server.error.whitelabel.enabled",
matchIfMissing=true)
@Conditional(org.springframework.boot.webmvc.autoconfigure.error.ErrorMvcAutoConfiguration.ErrorTemplateMissingCondition.class)
protected static class ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration
extends Object
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.view.BeanNameViewResolverorg.springframework.web.servlet.View
-
Constructor Details
-
WhitelabelErrorViewConfiguration
protected WhitelabelErrorViewConfiguration()
-
-
Method Details
-
defaultErrorView
@Bean(name="error") @ConditionalOnMissingBean(name="error") public org.springframework.web.servlet.View defaultErrorView() -
beanNameViewResolver
@Bean @ConditionalOnMissingBean public org.springframework.web.servlet.view.BeanNameViewResolver beanNameViewResolver()
-