void forceInit(DispatcherType dispatcherType) throws ServletException {
        if(filters != null) {
            List<ManagedFilter> list = filters.get(dispatcherType);
            if(list != null && !list.isEmpty()) {
                for(int i = 0; i < list.size(); ++i) {
                    ManagedFilter filter = list.get(i);
                    filter.forceInit();
                }
            }
        }
        managedServlet.forceInit();
    }
void forceInit ( DispatcherType dispatcherType ) throws ServletException { if ( filters != null ) { List < ManagedFilter > list = filters . get ( dispatcherType ) ; if ( list != null && ! list . isEmpty ( ) ) { for ( int i = 0 ; i < list . size ( ) ; ++ i ) { ManagedFilter filter = list . get ( i ) ; filter . forceInit ( ) ; } } } managedServlet . forceInit ( ) ; }
see UNDERTOW-1132