Dispatcher dynamically generates handler for different request methods