#include <httpsvc.h>
Inheritance diagram for PServiceHTTPFile:
Public Member Functions | |
PServiceHTTPFile (const PString &filename, PBoolean needSig=PFalse) | |
PServiceHTTPFile (const PString &filename, const PFilePath &file, PBoolean needSig=PFalse) | |
PServiceHTTPFile (const PString &filename, const PString &file, PBoolean needSig=PFalse) | |
PServiceHTTPFile (const PString &filename, const PHTTPAuthority &auth, PBoolean needSig=PFalse) | |
PServiceHTTPFile (const PString &filename, const PFilePath &file, const PHTTPAuthority &auth, PBoolean needSig=PFalse) | |
void | OnLoadedText (PHTTPRequest &, PString &text) |
Protected Member Functions | |
virtual PBoolean | GetExpirationDate (PTime &when) |
Protected Attributes | |
PBoolean | needSignature |
PServiceHTTPFile::PServiceHTTPFile | ( | const PString & | filename, | |
const PFilePath & | file, | |||
PBoolean | needSig = PFalse | |||
) | [inline] |
PServiceHTTPFile::PServiceHTTPFile | ( | const PString & | filename, | |
const PString & | file, | |||
PBoolean | needSig = PFalse | |||
) | [inline] |
PServiceHTTPFile::PServiceHTTPFile | ( | const PString & | filename, | |
const PHTTPAuthority & | auth, | |||
PBoolean | needSig = PFalse | |||
) | [inline] |
PServiceHTTPFile::PServiceHTTPFile | ( | const PString & | filename, | |
const PFilePath & | file, | |||
const PHTTPAuthority & | auth, | |||
PBoolean | needSig = PFalse | |||
) | [inline] |
void PServiceHTTPFile::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 PHTTPResource.
Get a block of data (eg HTML) that the resource contains.
when | Time that the resource expires |
Reimplemented from PHTTPResource.
PBoolean PServiceHTTPFile::needSignature [protected] |