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

@param filter The filter