|
PTLib Version 2.10.2
|
#include <httpsvc.h>
Public Member Functions | |
| PServiceHTTPDirectory (const PURL &url, const PDirectory &dirname, PBoolean needSig=false) | |
| PServiceHTTPDirectory (const PURL &url, const PDirectory &dirname, const PHTTPAuthority &auth, PBoolean needSig=false) | |
| void | OnLoadedText (PHTTPRequest &, PString &text) |
| This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. | |
Protected Member Functions | |
| virtual PBoolean | GetExpirationDate (PTime &when) |
| Get a block of data (eg HTML) that the resource contains. | |
Protected Attributes | |
| PBoolean | needSignature |
| PServiceHTTPDirectory::PServiceHTTPDirectory | ( | const PURL & | url, |
| const PDirectory & | dirname, | ||
| PBoolean | needSig = false |
||
| ) | [inline] |
References needSignature.
| PServiceHTTPDirectory::PServiceHTTPDirectory | ( | const PURL & | url, |
| const PDirectory & | dirname, | ||
| const PHTTPAuthority & | auth, | ||
| PBoolean | needSig = false |
||
| ) | [inline] |
References needSignature.
Get a block of data (eg HTML) that the resource contains.
| when | Time that the resource expires |
Reimplemented from PHTTPResource.
| void PServiceHTTPDirectory::OnLoadedText | ( | PHTTPRequest & | request, |
| 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.
PBoolean PServiceHTTPDirectory::needSignature [protected] |
Referenced by PServiceHTTPDirectory().