类 Sanitizer
java.lang.Object
org.springframework.boot.actuate.endpoint.Sanitizer
Strategy that should be used by endpoint implementations to sanitize potentially
sensitive keys.
- 从以下版本开始:
- 2.0.0
- 作者:
- Christian Dupuis, Toshiaki Maki, Phillip Webb, Nicolas Lejeune, Stephane Nicoll, HaiTao Zhang, Chris Bono, David Good, Madhura Bhave
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明sanitize
(SanitizableData data, boolean showUnsanitized) Sanitize the value from the givenSanitizableData
using the availableSanitizingFunction
s.
-
构造器详细资料
-
方法详细资料
-
sanitize
Sanitize the value from the givenSanitizableData
using the availableSanitizingFunction
s.- 参数:
data
- the sanitizable datashowUnsanitized
- whether to show the unsanitized values or not- 返回:
- the potentially updated data
- 从以下版本开始:
- 3.0.0
-