Interface DataFilter

All Known Implementing Classes:
JSONDataFilter, NoMarkupFilter, NoScriptsFilter, RegexFilter

public interface DataFilter

A filter that can add, modify or remove fields from the message data.

  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  DataFilter.AbortException
    Aborts the filtering of the message data.
  • Method Summary

    Modifier and Type Method Description
    Object filter​(ServerSession session, ServerChannel channel, Object data)
    Modifies the given message data.