Interface UserMessagePreprocessor


public interface UserMessagePreprocessor
An interface that defines pre-processing of user messages before they are displayed.

Typically an implementation will filter the input to avoid unwanted characters and to protect from XSS attacks and such, and then translate the message into the format that is suitable for the service's UI.

Author:
Martin Lindström
  • Method Summary

    Modifier and Type
    Method
    Description
    processUserMessage(Map<String,String> encodedMessages, MimeType mimeType)
    Applies processing of the supplied message where filtering, validation and transformation to the service's desired display format can be done.
  • Method Details