VOS::HTTPServer Class Reference
#include <httpserver.hh>
Inheritance diagram for VOS::HTTPServer:

Detailed Description
Definition at line 22 of file httpserver.hh.
Public Types
- HTML
- RDF
- enum VobjectDescriptionFormat { HTML, RDF }
Public Member Functions
- HTTPServer (int port=4080, VobjectDescriptionFormat descriptionFormat=HTML, bool alwaysDescribe=false)
- virtual void siteExtensionAttachedTo (Site *site)
- void operator() ()
- int getPort ()
- void setDescriptionFormat (VobjectDescriptionFormat format)
- VobjectDescriptionFormat getDescriptionFormat ()
- void setAlwaysDescribe (bool q=true)
- bool getAlwaysDescribe ()
- void describeVobject (Vobject *v, const char *basepath, std::string &content, std::string &contenttype)
Member Enumeration Documentation
Constructor & Destructor Documentation
| VOS::HTTPServer::HTTPServer | ( | int | port = 4080, |
|
| VobjectDescriptionFormat | descriptionFormat = HTML, |
|||
| bool | alwaysDescribe = false | |||
| ) |
Member Function Documentation
| void VOS::HTTPServer::describeVobject | ( | Vobject * | v, | |
| const char * | basepath, | |||
| std::string & | content, | |||
| std::string & | contenttype | |||
| ) |
| bool VOS::HTTPServer::getAlwaysDescribe | ( | ) |
| VobjectDescriptionFormat VOS::HTTPServer::getDescriptionFormat | ( | ) |
| int VOS::HTTPServer::getPort | ( | ) | [inline] |
Definition at line 42 of file httpserver.hh.
| void VOS::HTTPServer::operator() | ( | ) |
| void VOS::HTTPServer::setAlwaysDescribe | ( | bool | q = true |
) |
| void VOS::HTTPServer::setDescriptionFormat | ( | VobjectDescriptionFormat | format | ) |
| virtual void VOS::HTTPServer::siteExtensionAttachedTo | ( | Site * | site | ) | [virtual] |
- Warning:
- This makes a copy of the HTTPServer object, which will be used by the site (not your original copy passed into Site::addSiteExtension().
Reimplemented from VOS::SiteExtension.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/extensions/http/httpserver.hh