public function renderResource($view, array $parameters=[], $statusCode=200)
    {
        $this->findContentType()
            ->findViewType()
            ->buildViewTemplate($view)
            ->checkViewTemplateExists();

        $response = $this->createResponse($statusCode);
        $response->headers
            ->set('Content-Type', $this->contentType);

        return $this->render($this->viewTemplateName, $parameters, $response);
    }