Hi Tim, I'm new in vert.x community...
This is an incredible feature, also you can add support for "." and "-" characters on placeholder names
I intend this...
I have next URLs for address resource on my system:
/customers/{id}/addresses => similar to /addresses?
customer.id={id}
/accounts/{id}/addresses => similar to /addresses?
accounts.id={id}
And y want only one handler to dispatch all request over "address" resource/subresource
... (same handler than /addresses)
});
... (same handler than /addresses)
});
router.route("/addresses").handler(ctx -> {
ctx.response().putHeader("content-type", "text/html").end("/addresses?
customer.id="+
});
You can see that all URLs can processed by same unique handler... (but currently only works for last route /address because placehoder name not allows "." and regexp capturing named-groups not works...)
I expect that you can appreciate this feedback to do vert.x "the best" asyncronous server of class
Thank You