类的使用
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 SanitizableData
SanitizingFunction.applyUnlessFiltered
(SanitizableData data) Apply the sanitizing function as long as the filter passes or there is no filter.SanitizableData.withSanitizedValue()
Return a newSanitizableData
instance with sanitized value.Return a newSanitizableData
instance 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 SanitizableData
SanitizingFunction.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 givenSanitizableData
using the availableSanitizingFunction
s.类型变量类型为SanitizableData的org.springframework.boot.actuate.endpoint中的方法参数修饰符和类型方法说明default SanitizingFunction
SanitizingFunction.ifMatches
(Predicate<SanitizableData> predicate) Return a new function with a filter that also applies if the data matches the given predicate.default SanitizingFunction
SanitizingFunction.ifMatches
(List<Predicate<SanitizableData>> predicates) Return a new function with a filter that also applies if the data matches any of the given predicates.