public static RequestFilter newInstance(List<? extends RequestFilter> filters) {
        if (filters.size() == 0) {
            return EmptyRequestFilter.INSTANCE;
        }
        if (filters.size() == 1) {
            return filters.get(0);
        }
        return new RequestFilterChain(filters);
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
container-core/src/main/java/com/yahoo/jdisc/http/filter/chain/RequestFilterChain.java