I tried to experience the SmallRye Mutiny Vertx bindings, the complete example codes can be found on my Github.
When assembling the routings like this.
router.get("/posts/:id").produces("application/json")
.handler(handlers::get);
//.failureHandler(frc -> frc.response().setStatusCode(404).end());
The failureHandler
will block the request.