@SuppressWarnings("unchecked") // For the conversion from getFiltersByType.  It's not safe, sorry.
    public <T extends ZuulMessage> ZuulFilter<T, T>[] getFilters(ZuulFilter<T, T> start, ZuulFilter<T, T> stop) {
        SortedSet<ZuulFilter<?, ?>> zuulFilters = filterLoader.getFiltersByType(start.filterType());
        ZuulFilter<T, T>[] filters = new ZuulFilter[zuulFilters.size() + 2];
        filters[0] = start;
        int i = 1;
        for (ZuulFilter<?, ?> filter : zuulFilters) {
            // TODO(carl-mastrangelo): find some way to make this cast not needed.
            filters[i++] = (ZuulFilter<T, T>) filter;
        }
        filters[filters.length - 1] = stop;
        return filters;
    }
Call {@link #BaseZuulChannelInitializer(String, ChannelConfig, ChannelConfig, ChannelGroup)} instead.
zuul-core/src/main/java/com/netflix/zuul/netty/server/BaseZuulChannelInitializer.java