Added:
/trunk/puntoengine/core/http/HttpResponse.php
=======================================
--- /dev/null
+++ /trunk/puntoengine/core/http/HttpResponse.php Tue Nov 1 13:52:07 2011
@@ -0,0 +1,83 @@
+<?php
+/**
+ * Source code of HttpResponse class
+ * @category puntoengine
+ * @package core
+ * @subpackage http
+ * @author Juan Benavides Romero <juan.benav...@gmail.com>
+ * @since 0.4.0
+ */
+
+
+/**
+ * HttpResponse is a response for the Controller.
+ * HttpResponse can set the response html, cookies, sessions, and any
header
+ * @category puntoengine
+ * @package core
+ * @subpackage http
+ * @author Juan Benavides Romero <juan.benav...@gmail.com>
+ * @since 0.4.0
+ */
+class HttpResponse extends Object {
+ /**
+ * Controller name
+ * @var string
+ */
+ protected $controller;
+
+
+ /**
+ * Action name
+ * @var string
+ */
+ protected $action;
+
+
+
+ /**
+ * Default constructor
+ */
+ public function __construct() {
+ }//__construct
+
+
+
+ /**
+ * Return the controller name
+ * @return string Controller name
+ */
+ public function getController() {
+ return $this->controller;
+ }//getController
+
+
+
+ /**
+ * Set the controller name
+ * @param string $controller Controller name
+ */
+ public function setController($controller) {
+ $this->controller = $controller;
+ }//setController
+
+
+
+ /**
+ * Return the action name
+ * @return string Action name
+ */
+ public function getAction() {
+ return $this->action;
+ }//getAction
+
+
+
+ /**
+ * Set the action name
+ * @param string $action Action name
+ */
+ public function setAction($action) {
+ $this->action = $action;
+ }//setAction
+}//HttpResponse
+?>