events-be-servlet: convert anon classes to Java 8 Lambda expressions