接口 SanitizingFunction

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface SanitizingFunction
Function that takes a SanitizableData and applies sanitization to the value, if necessary. Can be used by a Sanitizer to determine the sanitized value.
从以下版本开始:
2.6.0
作者:
Madhura Bhave
  • 方法概要

    修饰符和类型
    方法
    说明
    Apply the sanitizing function to the given data.
  • 方法详细资料

    • apply

      Apply the sanitizing function to the given data.
      参数:
      data - the data to sanitize
      返回:
      the sanitized data or the original instance is no sanitization is applied