code: public static Action contentType(final String contentType) {
          return new Action(r -> {
              r.setContentType(contentType);
              return r;
          });
      }
docs: Sets content type to the response