PServiceHTTPDirectory Class Reference

#include <httpsvc.h>

Inheritance diagram for PServiceHTTPDirectory:

PHTTPDirectory PHTTPFile PHTTPResource PObject List of all members.

Public Member Functions

 PServiceHTTPDirectory (const PURL &url, const PDirectory &dirname, PBoolean needSig=PFalse)
 PServiceHTTPDirectory (const PURL &url, const PDirectory &dirname, const PHTTPAuthority &auth, PBoolean needSig=PFalse)
void OnLoadedText (PHTTPRequest &, PString &text)

Protected Member Functions

virtual PBoolean GetExpirationDate (PTime &when)

Protected Attributes

PBoolean needSignature

Constructor & Destructor Documentation

PServiceHTTPDirectory::PServiceHTTPDirectory ( const PURL url,
const PDirectory dirname,
PBoolean  needSig = PFalse 
) [inline]

PServiceHTTPDirectory::PServiceHTTPDirectory ( const PURL url,
const PDirectory dirname,
const PHTTPAuthority auth,
PBoolean  needSig = PFalse 
) [inline]


Member Function Documentation

void PServiceHTTPDirectory::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.

virtual PBoolean PServiceHTTPDirectory::GetExpirationDate ( PTime when  )  [protected, virtual]

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

Returns:
Status of load operation.
Parameters:
when  Time that the resource expires

Reimplemented from PHTTPResource.


Member Data Documentation

PBoolean PServiceHTTPDirectory::needSignature [protected]


The documentation for this class was generated from the following file:
Generated on Mon Dec 10 11:19:00 2007 for PTLib by  doxygen 1.5.1