Interface XSSFilter.XSSValueTranslator

All Known Implementing Classes:
DefaultXSSValueTranslator
Enclosing class:
XSSFilter

public static interface XSSFilter.XSSValueTranslator
Interface to encapsulate the actual processing of parameter and header values.
  • Method Details

    • translateParameters

      Map<String,String[]> translateParameters(Map<String,String[]> original)
      Translates all parameter values in one go. Attention: The method must return the original map object if there haven't been any offending values! Otherwise we may face performance degradation.
    • translateHeaders

      Map<String,String[]> translateHeaders(Map<String,String[]> original)
      Translates all header values in one go. Attention: The method must return the original map object if there haven't been any offending values! Otherwise we may face performance degradation.