![]() |
C++ Web Framework
3.0
|
The RequestDispatcher class can be used to dispatch a requisition to a page. More...
#include <requestdispatcher.h>
Public Member Functions | |
| RequestDispatcher (const QString &file) | |
| This constructor receives a file name. | |
| ~RequestDispatcher () | |
| Virtual destructor. | |
| void | forward (CWF::Request &request, CWF::Response &response) |
| This method will dispatch the page file specificated in path to the CSTLCompiler, the CSTLCompiler will compile the xhtml file and returns the result. After this, the RequestDispatcher will take the return and write it on the response. More... | |
The RequestDispatcher class can be used to dispatch a requisition to a page.
| CWF_BEGIN_NAMESPACE void RequestDispatcher::forward | ( | CWF::Request & | request, |
| CWF::Response & | response | ||
| ) |
This method will dispatch the page file specificated in path to the CSTLCompiler, the CSTLCompiler will compile the xhtml file and returns the result. After this, the RequestDispatcher will take the return and write it on the response.
| CWF::Request | &request : Used to process the response. |
| CWF::Response | &response : Used to response. |
1.8.13