protected function processResponseType($response = null)
	{
		if ($response instanceof Response) {
			$this->response = $response;
		}
		elseif (is_string($response) || is_numeric($response)) {
			$this->response->setContent($response);
		}
		elseif (is_array($response)) {
			$this->response = new JsonResponse($response);
		}
		else {
			throw new \Exception("App cannot process this response type");
		}
	}