Ultrakompakter HTTP Server
ulrich
4 days ago 982611299e66933b9f4dd1c93002b87cef0707f4
src/de/uhilger/neon/Factory.java
@@ -200,13 +200,15 @@
        //    ctx.getAttributes().putAll(d.authenticator.attributes);
        //    fireAuthenticatorCreated(ctx, auth);
        //}
        for(String filterClassName : cd.filter) {
          //
          Object filterObj = Class.forName(filterClassName)
                .getDeclaredConstructor().newInstance();
          if(filterObj instanceof Filter) {
            Filter filter = (Filter) filterObj;
            ctx.getFilters().add(filter);
        if(cd.filter != null) {
          for(String filterClassName : cd.filter) {
            //
            Object filterObj = Class.forName(filterClassName)
                  .getDeclaredConstructor().newInstance();
            if(filterObj instanceof Filter) {
              Filter filter = (Filter) filterObj;
              ctx.getFilters().add(filter);
            }
          }
        }
        fireHandlerCreated(ctx, h);