There is really no need to find the ResourceType using reflection, as the ResourceType should be available through request.Node.