|
| | ResourceHandler (const std::string &ext, const std::string &contentType, const std::string &appId, bool stream=false) |
| |
More...
|
| |
| | ResourceHandler (const std::string &ext, const std::string &contentType, const std::string &appId, bool stream, const std::string &handler_tag) |
| |
| | ~ResourceHandler () |
| |
| | ResourceHandler () |
| |
| | ResourceHandler (const ResourceHandler &c) |
| |
| ResourceHandler & | operator= (const ResourceHandler &c) |
| |
| bool | operator== (const ResourceHandler &c) const |
| |
| bool | operator!= (const ResourceHandler &c) const |
| |
| bool | match (const std::string &extension, const std::string &appId, const std::string &mimeType, bool stream) const |
| |
| bool | match (const std::string &extension, const std::string &appId, const std::string &mimeType) const |
| |
| bool | match (const std::string &appId, const std::string &mimeType) const |
| |
| const std::string & | appId () const |
| |
| const std::string & | fileExt () const |
| |
| const std::string & | contentType () const |
| |
| const std::string & | tag () const |
| |
| void | setTag (const std::string &newtag) |
| |
| uint32_t | index () |
| |
| uint32_t | setIndex (uint32_t newindex) |
| |
| bool | stream () const |
| |
| bool | valid () |
| |
| void | markInvalid () |
| |
| bool | addVerb (const std::string &verb, const std::string &jsonizedParams) |
| |
| void | removeVerb (const std::string &verb) |
| |
| std::string | toJsonString () |
| |
| struct json_object * | toJson () |
| |
const std::map< std::string,
std::string > & | verbs () |
| |
Associate a resource file extension and MIME type to the application that can open that resource type.