08-03-2021, 04:55 AM
The handler does not hold this information, because 1 handler can be connected to multiple paths.
Besides that, multiple handlers can match a specific request (and there is an order to resolve the precedence).
So, bottom line is that your application must "know" this information somehow
Besides that, multiple handlers can match a specific request (and there is an order to resolve the precedence).
So, bottom line is that your application must "know" this information somehow