Making servlets into good Java8 functional citizens