code: public void before(Filter filter) {
          addFilter(HttpMethod.before, FilterImpl.create(SparkUtils.ALL_PATHS, filter));
      }
docs: Maps a filter to be executed before any matching routes
  
  @param filter The filter