类的使用
org.springframework.boot.actuate.endpoint.SanitizableData
使用SanitizableData的程序包
-
org.springframework.boot.actuate.endpoint中SanitizableData的使用
修饰符和类型方法说明SanitizingFunction.apply(SanitizableData data) Apply the sanitizing function to the given data.default SanitizableDataSanitizingFunction.applyUnlessFiltered(SanitizableData data) Apply the sanitizing function as long as the filter passes or there is no filter.SanitizableData.withSanitizedValue()Return a newSanitizableDatainstance with sanitized value.Return a newSanitizableDatainstance with a different value.返回变量类型为SanitizableData的类型的org.springframework.boot.actuate.endpoint中的方法修饰符和类型方法说明default Predicate<SanitizableData> SanitizingFunction.filter()Return an optional filter that determines if the sanitizing function applies.修饰符和类型方法说明SanitizingFunction.apply(SanitizableData data) Apply the sanitizing function to the given data.default SanitizableDataSanitizingFunction.applyUnlessFiltered(SanitizableData data) Apply the sanitizing function as long as the filter passes or there is no filter.Sanitizer.sanitize(SanitizableData data, boolean showUnsanitized) Sanitize the value from the givenSanitizableDatausing the availableSanitizingFunctions.类型变量类型为SanitizableData的org.springframework.boot.actuate.endpoint中的方法参数修饰符和类型方法说明default SanitizingFunctionSanitizingFunction.ifMatches(Predicate<SanitizableData> predicate) Return a new function with a filter that also applies if the data matches the given predicate.default SanitizingFunctionSanitizingFunction.ifMatches(List<Predicate<SanitizableData>> predicates) Return a new function with a filter that also applies if the data matches any of the given predicates.