Class PredicatesHandler

  • All Implemented Interfaces:
    HttpHandler

    public class PredicatesHandler
    extends java.lang.Object
    implements HttpHandler
    Handler that can deal with a large number of predicates. chaining together a large number of PredicatesHandler.Holder instances will make the stack grow to large, so this class is used that can deal with a large number of predicates.
    Author:
    Stuart Douglas
    • Field Detail

      • DONE

        public static final AttachmentKey<java.lang.Boolean> DONE
        static done marker. If this is attached to the exchange it will drop out immediately.
      • RESTART

        public static final AttachmentKey<java.lang.Boolean> RESTART
    • Constructor Detail

      • PredicatesHandler

        public PredicatesHandler​(HttpHandler next)
      • PredicatesHandler

        public PredicatesHandler​(HttpHandler next,
                                 boolean outerHandler)