Defines a factory interface for content handlers.
More...
#include <src/main/decaf/net/ContentHandlerFactory.h>
Defines a factory interface for content handlers.
An implementation of this interface must map a MIME type into an instance of ContentHandler.
- Since
- 1.0
◆ ~ContentHandlerFactory()
virtual decaf::net::ContentHandlerFactory::~ContentHandlerFactory |
( |
| ) |
|
|
virtual |
◆ createContentHandler()
virtual ContentHandler * decaf::net::ContentHandlerFactory::createContentHandler |
( |
const std::string & | contentType | ) |
|
|
pure virtual |
Creates a content handler to handle contentType.
- Parameters
-
contentType | specifies the content type which is handled by the returned ContentHandler. |
- Returns
- content handler object for a specific content type.
The documentation for this class was generated from the following file: