类的使用
org.springframework.boot.autoconfigure.web.ErrorProperties
使用ErrorProperties的程序包
程序包
说明
Actuator Spring MVC support.
Auto-configuration for common web concerns.
Auto-configuration for Spring WebFlux error handling.
Auto-configuration for Spring MVC error handling.
-
org.springframework.boot.actuate.autoconfigure.web.servlet中ErrorProperties的使用
限定符构造器说明ManagementErrorEndpoint
(ErrorAttributes errorAttributes, ErrorProperties errorProperties) -
org.springframework.boot.autoconfigure.web中ErrorProperties的使用
-
org.springframework.boot.autoconfigure.web.reactive.error中ErrorProperties的使用
限定符构造器说明DefaultErrorWebExceptionHandler
(ErrorAttributes errorAttributes, WebProperties.Resources resources, ErrorProperties errorProperties, ApplicationContext applicationContext) Create a newDefaultErrorWebExceptionHandler
instance. -
org.springframework.boot.autoconfigure.web.servlet.error中ErrorProperties的使用
修饰符和类型方法说明protected ErrorProperties
BasicErrorController.getErrorProperties()
Provide access to the error properties.限定符构造器说明BasicErrorController
(ErrorAttributes errorAttributes, ErrorProperties errorProperties) Create a newBasicErrorController
instance.BasicErrorController
(ErrorAttributes errorAttributes, ErrorProperties errorProperties, List<ErrorViewResolver> errorViewResolvers) Create a newBasicErrorController
instance.