@FunctionalInterface public interface SanitizingFunction
SanitizableData
and applies sanitization to the value, if
necessary. Can be used by a Sanitizer
to determine the sanitized value.Modifier and Type | Method and Description |
---|---|
SanitizableData |
apply(SanitizableData data)
Apply the sanitizing function to the given data.
|
SanitizableData apply(SanitizableData data)
data
- the data to sanitize