Package org.graylog2.security.html
Class HTMLSanitizerConverter
public class HTMLSanitizerConverter
extends com.fasterxml.jackson.databind.util.StdConverter<String,String>
Jackson converter that removes all HTML elements from a specified string.
Uses the OWASP Java HTML Sanitizer library, which does not allow any HTML
elements by default.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.util.Converter
com.fasterxml.jackson.databind.util.Converter.None -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.fasterxml.jackson.databind.util.StdConverter
_findConverterType, getInputType, getOutputType