code: public static PredicateHandler predicate(final Predicate predicate, final HttpHandler trueHandler, final HttpHandler falseHandler) {
          return new PredicateHandler(predicate, trueHandler, falseHandler);
      }
docs: Returns a new predicate handler, that will delegate to one of the two provided handlers based on the value of the
  provided predicate.
  
  @param predicate    The predicate
  @param trueHandler  The handler that will be executed if the predicate is true
  @param falseHandler The handler that will be exected if the predicate is false
  @return A new predicate handler
  @see Predicate
  @see io.undertow.predicate.Predicates