Public Class Methods | |
| retval | new (scalar this) |
Public Object Methods | |
| retval | clone () |
| Clone/copy this object. | |
| void | initapp (scalar appid) |
| Initializes an application: Instantiates the corresponding BigSister::(application)Application class, reads the application specific configuration via BigSWAF::Configuration and sets up a BigSWAF::DispEngine object. | |
| scalar | request (BigSWAF::RequestHandler env) |
| Handle one request. | |
| BigSWAF::AppHandler | env (BigSWAF::RequestHandler env) |
| Get/set the RequestHandler in charge. | |
| BigSWAF::DispEngine | display (BigSWAF::DispEngine disp) |
| Get/set the BigSWAF::DispEngine in charge. | |
| BigSWAF::Session | session (BigSWAF::Session session) |
| Get/set the active BigSWAF::Session. | |
| retval | noapp () |
| Emits an error if no application could be associated with a request. | |
| retval | error (scalar code, scalar message) |
| Set error code/message for request results. | |
| retval | param (scalar name) |
| Get the list of values of a request parameter. | |
| retval | paramv (scalar name) |
| Get the first value of a request parameter. | |
| retval | upload_filehandle (scalar name) |
| If a parameter is associated with an input field of type "file", then param() and paramv() return the uploaded file's name, while upload_filehandle() returns a handle to the actual uploaded file. | |
| retval | prevent_caching (list ARGS) |
| Ask if client requested us to bypass caches. | |
| retval | authenticate (scalar realm) |
| Ask for authentication for a given realm. | |
| retval | getcredentials () |
| Ask which credentials a client provided. | |
| retval | content_type (scalar type) |
| Set content type for the request result. | |
| retval | rootpath (scalar path) |
| Get/set root path of this request. | |
| retval | path (scalar path) |
| Get/set path of this request. | |
| retval | appid () |
| Get name/id of the current application. | |
| retval | clientid () |
| Get the id of the client. | |
|
|
Get name/id of the current application. Frontend for BigSWAF::RequestHandler::appid(). |
|
|
Ask for authentication for a given realm. Frontend for BigSWAF::RequestHandler::authenticate(). |
|
|
Get the id of the client. Frontend for BigSWAF::RequestHandler::clientid(). |
|
|
Clone/copy this object.
|
|
|
Set content type for the request result. Frontend for BigSWAF::RequestHandler::content_type(). |
|
|
Get/set the BigSWAF::DispEngine in charge.
|
|
|
Get/set the RequestHandler in charge.
|
|
||||||||||||
|
Set error code/message for request results. Frontend for BigSWAF::RequestHandler::error(). |
|
|
Ask which credentials a client provided. Frontend for BigSWAF::RequestHandler::getcredentials(). |
|
|
Initializes an application: Instantiates the corresponding BigSister::(application)Application class, reads the application specific configuration via BigSWAF::Configuration and sets up a BigSWAF::DispEngine object.
|
|
|
|
|
|
Emits an error if no application could be associated with a request.
|
|
|
Get the list of values of a request parameter. Frontend for BigSWAF::RequestHandler::param(). |
|
|
Get the first value of a request parameter. Frontend for BigSWAF::RequestHandler::paramv(). |
|
|
Get/set path of this request. Frontend for BigSWAF::RequestHandler::path(). |
|
|
Ask if client requested us to bypass caches. Frontend for BigSWAF::RequestHandler::prevent_caching(). |
|
|
Handle one request. The BigSWAF::RequestHandler in charge invokes request() for each incoming request. The request() method finds out which BigSWAF application the request belongs to, sets up an apphandler via initapp(), does session and cookie handling and passes the request on to the respective application handler.
|
|
|
Get/set root path of this request. Frontend for BigSWAF::RequestHandler::rootpath(). |
|
|
Get/set the active BigSWAF::Session.
|
|
|
If a parameter is associated with an input field of type "file", then param() and paramv() return the uploaded file's name, while upload_filehandle() returns a handle to the actual uploaded file.
|
1.4.5