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

HttpFile Class Reference

Inheritance diagram for HttpFile:

HttpDataHandler List of all members.

Public Member Functions

 HttpFile ()
int send (HttpThreadContext *, ConnectionPtr s, const char *filenamePath, const char *cgi, int OnlyHeader=0)
virtual ~HttpFile ()

Static Public Member Functions

int load (XmlParser *)
int unload ()

Constructor & Destructor Documentation

HttpFile::HttpFile  ) 
 

Constructor for the class.

HttpFile::~HttpFile  )  [virtual]
 

Destroy the object.


Member Function Documentation

int HttpFile::load XmlParser  )  [static]
 

Load the static elements.

Parameters:
confFile Not used.

Reimplemented from HttpDataHandler.

int HttpFile::send HttpThreadContext td,
ConnectionPtr  s,
const char *  filenamePath,
const char *  cgi,
int  onlyHeader = 0
[virtual]
 

Send a file to the client using the HTTP protocol.

Parameters:
td The current HTTP thread context.
s A pointer to the connection.
filenamePath The path of the static file to send.
exec Not used.
onlyHeader Specify if send only the HTTP header.

Reimplemented from HttpDataHandler.

int HttpFile::unload  )  [static]
 

Unload the static elements.

Reimplemented from HttpDataHandler.


Generated on Wed Nov 8 13:12:49 2006 for MyServer by doxygen 1.3.6