What are Java filters?
A Java filter consists of two parts:
one or more Java classes, compiled and packaged into a jar file (you can of course combine multiple filters in one jar file)
a JSON file describing this filter and how it can be configured
The Java API for Java filters is described in the Javadoc documentation.
The best way to create a Java filter is to start with the sample project.