Interface SanitizingFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function that takes a
SanitizableData
and applies sanitization to the value, if
necessary. Can be used by a Sanitizer
to determine the sanitized value.- Since:
- 2.6.0
- Author:
- Madhura Bhave
-
Method Summary
Modifier and TypeMethodDescriptionapply
(SanitizableData data) Apply the sanitizing function to the given data.
-
Method Details
-
apply
Apply the sanitizing function to the given data.- Parameters:
data
- the data to sanitize- Returns:
- the sanitized data or the original instance is no sanitization is applied
-