#include <http.h>
Inheritance diagram for PHTTPSpace:

Public Types | |
| enum | AddOptions { ErrorOnExist, Overwrite } |
Public Member Functions | |
| PHTTPSpace () | |
| Constructor for HTTP URL Name Space. | |
| BOOL | AddResource (PHTTPResource *resource, AddOptions overwrite=ErrorOnExist) |
| BOOL | DelResource (const PURL &url) |
| PHTTPResource * | FindResource (const PURL &url) |
| void | StartRead () const |
| void | EndRead () const |
| void | StartWrite () const |
| void | EndWrite () const |
Protected Member Functions | |
| PSORTED_LIST (ChildList, Node) | |
Protected Attributes | |
| PReadWriteMutex * | mutex |
| PHTTPSpace::Node * | root |
Classes | |
| class | Node |
|
|
|
|
|
Constructor for HTTP URL Name Space.
|
|
||||||||||||
|
Add a new resource to the URL space. If there is already a resource at the location in the tree, or that location in the tree is already in the path to another resource then the function will fail.
The
|
|
|
Delete an existing resource to the URL space. If there is not a resource at the location in the tree, or that location in the tree is in the path to another resource then the function will fail.
|
|
|
This function attempts to release the mutex for reading. |
|
|
This function attempts to release the mutex for writing. |
|
|
Locate the resource specified by the URL in the URL name space.
|
|
||||||||||||
|
|
|
|
This function attempts to acquire the mutex for reading. |
|
|
This function attempts to acquire the mutex for writing. |
|
|
|
|
|
|
1.4.2