@Configuration
@ConditionalOnWebApplication
@ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class})
@ConfigurationProperties(prefix="spring.error")
public class ErrorMvcAutoConfigurationAfter
extends Object
| Constructor and Description |
|---|
ErrorMvcAutoConfigurationAfter(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.boot.autoconfigure.web.ErrorViewResolver>> errorViewResolversProvider) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.autoconfigure.web.BasicErrorController |
basicErrorController(org.springframework.boot.autoconfigure.web.ErrorAttributes errorAttributes) |
org.springframework.boot.autoconfigure.web.DefaultErrorAttributes |
errorAttributes(org.springframework.context.MessageSource messageSource) |
List<org.springframework.boot.web.servlet.ErrorPage> |
getErrorPages() |
void |
setErrorPages(List<org.springframework.boot.web.servlet.ErrorPage> errorPages) |
public ErrorMvcAutoConfigurationAfter(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.boot.autoconfigure.web.ErrorViewResolver>> errorViewResolversProvider)
@Bean public org.springframework.boot.autoconfigure.web.BasicErrorController basicErrorController(org.springframework.boot.autoconfigure.web.ErrorAttributes errorAttributes)
@Bean public org.springframework.boot.autoconfigure.web.DefaultErrorAttributes errorAttributes(org.springframework.context.MessageSource messageSource)
public List<org.springframework.boot.web.servlet.ErrorPage> getErrorPages()
public void setErrorPages(List<org.springframework.boot.web.servlet.ErrorPage> errorPages)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.