Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

PConfigSectionsPage Class Reference

#include <httpsvc.h>

Inheritance diagram for PConfigSectionsPage:

PHTTPConfigSectionList PHTTPString PHTTPResource PObject List of all members.

Public Member Functions

 PConfigSectionsPage (PHTTPServiceProcess &app, const PURL &url, const PHTTPAuthority &auth, const PString &prefix, const PString &valueName, const PURL &editSection, const PURL &newSection, const PString &newTitle, PHTML &heading)
void OnLoadedText (PHTTPRequest &, PString &text)
BOOL OnPOST (PHTTPServer &server, const PURL &url, const PMIMEInfo &info, const PStringToString &data, const PHTTPConnectionInfo &connectInfo)
virtual BOOL Post (PHTTPRequest &request, const PStringToString &data, PHTML &replyMessage)

Protected Member Functions

virtual BOOL GetExpirationDate (PTime &when)

Protected Attributes

PHTTPServiceProcessprocess

Constructor & Destructor Documentation

PConfigSectionsPage::PConfigSectionsPage PHTTPServiceProcess app,
const PURL url,
const PHTTPAuthority auth,
const PString prefix,
const PString valueName,
const PURL editSection,
const PURL newSection,
const PString newTitle,
PHTML heading
 


Member Function Documentation

virtual BOOL PConfigSectionsPage::GetExpirationDate PTime when  )  [protected, virtual]
 

Get a block of data (eg HTML) that the resource contains.

Returns:
Status of load operation.

Reimplemented from PHTTPResource.

void PConfigSectionsPage::OnLoadedText PHTTPRequest ,
PString text
[virtual]
 

This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. Typically this is used with HTML responses.

The default action for this function is to do nothing.

Reimplemented from PHTTPConfigSectionList.

BOOL PConfigSectionsPage::OnPOST PHTTPServer server,
const PURL url,
const PMIMEInfo info,
const PStringToString data,
const PHTTPConnectionInfo connectInfo
[virtual]
 

Handle the POST command passed from the HTTP socket.

The default action is to check the authorisation for the resource and call the virtual Post()# function to handle the data being received.

Returns:
TRUE if the connection may persist, FALSE if the connection must close If there is no ContentLength field in the response, this value must be FALSE for correct operation.

Reimplemented from PHTTPResource.

virtual BOOL PConfigSectionsPage::Post PHTTPRequest request,
const PStringToString data,
PHTML replyMessage
[virtual]
 

Get a block of data (eg HTML) that the resource contains.

The default action for this function is to do nothing and return success.

Returns:
TRUE if the connection may persist, FALSE if the connection must close

Reimplemented from PHTTPConfigSectionList.


Member Data Documentation

PHTTPServiceProcess& PConfigSectionsPage::process [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 20:43:12 2005 for PWLib by  doxygen 1.4.1