枚举类的使用
org.springframework.boot.autoconfigure.web.ErrorProperties.IncludeAttribute
-
org.springframework.boot.autoconfigure.web中ErrorProperties.IncludeAttribute的使用
修饰符和类型方法说明ErrorProperties.getIncludeBindingErrors()ErrorProperties.getIncludeMessage()ErrorProperties.getIncludePath()ErrorProperties.getIncludeStacktrace()返回带有指定名称的该类的枚举常量。static ErrorProperties.IncludeAttribute[]ErrorProperties.IncludeAttribute.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明voidErrorProperties.setIncludeBindingErrors(ErrorProperties.IncludeAttribute includeBindingErrors) voidErrorProperties.setIncludeMessage(ErrorProperties.IncludeAttribute includeMessage) voidErrorProperties.setIncludePath(ErrorProperties.IncludeAttribute includePath) voidErrorProperties.setIncludeStacktrace(ErrorProperties.IncludeAttribute includeStacktrace)