Class RequestProcessor
- Requires:
- Class
- RenderingController
- Defined in:
- RequestProcessor.js
RequestProcessor
Constructor
RequestProcessor(request, response)
Fields
| Field | |
|---|---|
|
Request object
|
|
|
Response object
|
Methods
| Method | |
|---|---|
|
process()
Starts processing the request.
|
|
|
sendResponse(data)
Sends response
|
Class Detail
RequestProcessor(request, response)
| Parameters (optional) | ||
|---|---|---|
| request | {http.ServerRequest} | |
| response | {http.ServerResponse} | |
- Throws:
- {RequestProcessor.Exception.INVALID_REQUEST_RESPONSE} if constructor parameters are invalid or null.
Field Details
request
Request object
response
Response object
Method Details
process()
Starts processing the request. Creates and dispatches rendering flow.
sendResponse(data)
Sends response
| Parameters (optional) | ||
|---|---|---|
| data | {Object} | Response data. |
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 17 2011 15:33:34 GMT+0200 (CEST)