#include <httpform.h>
Inheritance diagram for PHTTPForm:
Public Types | |
enum | BuildOptions { CompleteHTML, InsertIntoForm, InsertIntoHTML } |
Public Member Functions | |
PHTTPForm (const PURL &url) | |
PHTTPForm (const PURL &url, const PHTTPAuthority &auth) | |
PHTTPForm (const PURL &url, const PString &html) | |
PHTTPForm (const PURL &url, const PString &html, const PHTTPAuthority &auth) | |
virtual void | OnLoadedText (PHTTPRequest &request, PString &text) |
virtual BOOL | Post (PHTTPRequest &request, const PStringToString &data, PHTML &replyMessage) |
PHTTPField * | Add (PHTTPField *fld) |
void | RemoveAllFields () |
void | BuildHTML (const char *heading) |
void | BuildHTML (const PString &heading) |
void | BuildHTML (PHTML &html, BuildOptions option=CompleteHTML) |
Protected Attributes | |
PHTTPCompositeField | fields |
PStringSet | fieldNames |
PHTTPForm::PHTTPForm | ( | const PURL & | url | ) |
PHTTPForm::PHTTPForm | ( | const PURL & | url, | |
const PHTTPAuthority & | auth | |||
) |
virtual void PHTTPForm::OnLoadedText | ( | PHTTPRequest & | request, | |
PString & | text | |||
) | [virtual] |
request | Information on this request. |
text | Data used in reply. |
Reimplemented in PHTTPConfig, PConfigPage, and PRegisterPage.
virtual BOOL PHTTPForm::Post | ( | PHTTPRequest & | request, | |
const PStringToString & | data, | |||
PHTML & | replyMessage | |||
) | [virtual] |
request | Information on this request. |
data | Variables in the POST data. |
replyMessage | Reply message for post. |
Reimplemented in PHTTPConfig, PConfigPage, and PRegisterPage.
PHTTPField* PHTTPForm::Add | ( | PHTTPField * | fld | ) |
void PHTTPForm::RemoveAllFields | ( | ) | [inline] |
void PHTTPForm::BuildHTML | ( | const char * | heading | ) |
void PHTTPForm::BuildHTML | ( | const PString & | heading | ) |
void PHTTPForm::BuildHTML | ( | PHTML & | html, | |
BuildOptions | option = CompleteHTML | |||
) |
PHTTPCompositeField PHTTPForm::fields [protected] |
PStringSet PHTTPForm::fieldNames [protected] |