Inheritance diagram for Http:

Public Member Functions | |
| int | allowHTTPTRACE () |
| int | controlConnection (ConnectionPtr a, char *b1, char *b2, int bs1, int bs2, u_long nbtr, u_long id) |
| int | deleteHTTPRESOURCE (string &filename, int yetMapped=0) |
| const char * | getBrowseDirCSSFile () |
| int | getCGItimeout () |
| const char * | getDefaultFilenamePath (u_long ID) |
| int | getFilePermissions (string &filename, string &directory, string &file, string &filenamePath, int yetmapped, int *permissions) |
| u_long | getGzipThreshold () |
| MimeRecord * | getMIME (string &filename) |
| int | getPath (string &filenamePath, const char *filename, int systemrequest) |
| int | getPath (string &filenamePath, const string &filename, int systemrequest) |
| Http () | |
| int | logHTTPaccess () |
| int | optionsHTTPRESOURCE (string &filename, int yetMapped=0) |
| int | preprocessHttpRequest (string &filename, int yetmapped, int *permissions) |
| int | putHTTPRESOURCE (string &filename, int systemrequest=0, int onlyHeader=0, int yetMapped=0) |
| int | raiseHTTPError (int ID) |
| virtual char * | registerName (char *out, int len) |
| int | requestAuthorization () |
| int | sendAuth () |
| int | sendHTTPhardError500 () |
| int | sendHTTPNonModified () |
| int | sendHTTPRedirect (const char *newURL) |
| int | sendHTTPResource (string &filename, int systemrequest=0, int onlyHeader=0, int yetMapped=0) |
| int | traceHTTPRESOURCE (string &filename, int yetMapped=0) |
| virtual | ~Http () |
Static Public Member Functions | |
| int | getPath (HttpThreadContext *td, string &filenamePath, const char *filename, int systemrequest) |
| int | getPath (HttpThreadContext *td, string &filenamePath, const string &filename, int systemrequest) |
| HttpStaticData * | getStaticData () |
| int | loadProtocolStatic (XmlParser *) |
| char * | registerNameImpl (char *, int len) |
| int | unLoadProtocolStatic (XmlParser *) |
Protected Member Functions | |
| u_long | checkDigest () |
| void | clean () |
| void | computeDigest (char *, char *) |
Protected Attributes | |
| HttpDataHandler * | cgi |
| HttpDataHandler * | fastcgi |
| HttpDataHandler * | httpDir |
| HttpDataHandler * | httpFile |
| HttpDataHandler * | isapi |
| HttpDataHandler * | mscgi |
| string | protocolPrefix |
| HttpDataHandler * | scgi |
| HttpThreadContext * | td |
| HttpDataHandler * | wincgi |
|
|
Constructor for the class http. |
|
|
Destructor for the http class. |
|
|
Check if the host allows the HTTP TRACE command |
|
|
Check the Digest authorization |
|
|
Clean the used memory. |
|
||||||||||||
|
Compute the Digest outputting it to a buffer. |
|
||||||||||||||||||||||||||||||||
|
This is the HTTP protocol main procedure to parse a request over HTTP. Reimplemented from Protocol. |
|
||||||||||||
|
Delete the resource identified by filename. |
|
|
Get the CSS file used in a browsed directory. |
|
|
Get the timeout for the cgi. |
|
|
Returns the default filename. |
|
||||||||||||||||||||||||||||
|
Get the file permissions mask.
|
|
|
Get the GZIP threshold. |
|
|
Returns the MIME type passing its extension. Returns zero if the file is registered. |
|
||||||||||||||||||||
|
Map an URL to the machine file system. Return 200 on success. Any other return value is the HTTP error. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Get a pointer to a structure shared among all the instances. |
|
|
Load the HTTP protocol. Reimplemented in Https. |
|
|
Log the access using the Common Log Format or the Combined one. |
|
||||||||||||
|
Build a response for an OPTIONS request. |
|
||||||||||||||||
|
Preprocess a HTTP request.
|
|
||||||||||||||||||||
|
Main function to handle the HTTP PUT command. |
|
|
Sends an error page to the client. Nonzero to keep the connection. |
|
||||||||||||
|
Returns the name of the protocol. If an out buffer is defined fullfill it with the name too. Reimplemented from Protocol. Reimplemented in Https. |
|
||||||||||||
|
Returns the name of the protocol. If an out buffer is defined fullfill it with the name too. Reimplemented in Https. |
|
|
Send to the client an authorization request. |
|
|
Send a 401 error. |
|
|
Send a hard wired 500 error when we have a system error |
|
|
Send a non-modified message to the client. |
|
|
Send a redirect message to the client. |
|
||||||||||||||||||||
|
Main function to send a resource to a client. |
|
||||||||||||
|
Handle the HTTP TRACE command. |
|
|
Unload the HTTP protocol. Reimplemented in Https. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1