activemq-cpp-3.9.5
decaf::net::ContentHandlerFactory Class Referenceabstract

Defines a factory interface for content handlers. More...

#include <src/main/decaf/net/ContentHandlerFactory.h>

Public Member Functions

virtual ~ContentHandlerFactory ()
 
virtual ContentHandler * createContentHandler (const std::string &contentType)=0
 Creates a content handler to handle contentType.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~ContentHandlerFactory()

virtual decaf::net::ContentHandlerFactory::~ContentHandlerFactory ( )
virtual

Member Function Documentation

◆ createContentHandler()

virtual ContentHandler * decaf::net::ContentHandlerFactory::createContentHandler ( const std::string & contentType)
pure virtual

Creates a content handler to handle contentType.

Parameters
contentTypespecifies 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: