Package akka.javasdk

Interface SanitizerContext


public interface SanitizerContext
Context information available to a TextSanitizer or LogSanitizer constructor. Gives access to the sanitizer's name and its configuration.

To mask what a configured classifier detects, inject an ClassifierClient into the constructor of a TextSanitizer.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.typesafe.config.Config
    The config section for the specific sanitizer.
    The name of the sanitizer.
  • Method Details

    • name

      String name()
      The name of the sanitizer.
    • config

      com.typesafe.config.Config config()
      The config section for the specific sanitizer.