public function resolveRequestHandler(
        $resource,
        array $parameters = [],
        $version = null,
        $resolveDefaultRequestHandler = true
    )
    {
        try {
            return $this->resolve('requestHandler', $resource, $parameters, $version);
        } catch (ResourceNotDefinedException $e) {
            if ($resolveDefaultRequestHandler) {
                return $this->app->make(DefaultRequestHandler::class, $parameters);
            }
            throw $e;
        }
    }