function renderResult(IResponse $r) {
		if ($this->_code) {
			$r->setHttpResponseCode($this->_code);
		}
		foreach ($this->_headers as $headerData) {
			$r->setHeader($headerData['name'], $headerData['value'], $headerData['replace']);
		}
		$this->render($r);
		return null;
	}