code: public FilterRegistration.Dynamic addFilter(String name, Filter filter) {
          return addFilter(name, new FilterHolder(requireNonNull(filter)));
      }
docs: Add a filter instance.
  
  @param name   the filter's name
  @param filter the filter instance
  @return a {@link javax.servlet.FilterRegistration.Dynamic} instance allowing for further
  configuration