类的使用
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 newDefaultErrorWebExceptionHandlerinstance. -
org.springframework.boot.autoconfigure.web.servlet.error中ErrorProperties的使用
修饰符和类型方法说明protected ErrorPropertiesBasicErrorController.getErrorProperties()Provide access to the error properties.限定符构造器说明BasicErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties) Create a newBasicErrorControllerinstance.BasicErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties, List<ErrorViewResolver> errorViewResolvers) Create a newBasicErrorControllerinstance.