Module bus.core

Interface MaskingHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MaskingHandler
脱敏处理器,用于自定义脱敏规则
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    处理传入的数据字符串,经过脱敏逻辑后,返回处理后的值
  • Method Details

    • handle

      String handle(CharSequence value)
      处理传入的数据字符串,经过脱敏逻辑后,返回处理后的值
      Parameters:
      value - 待处理的值
      Returns:
      处理后的值