cgicc::HTTPContentHeader Class Reference

HTTP header for data of a specified MIME type. More...

#include <cgicc/HTTPContentHeader.h>

Inheritance diagram for cgicc::HTTPContentHeader:

cgicc::HTTPHeader cgicc::MStreamable cgicc::HTTPHTMLHeader cgicc::HTTPPlainHeader

Public Member Functions

Inherited Methods
virtual void render (std::ostream &out) const
 Write this HTTPHeader to a stream.

Detailed Description

HTTP header for data of a specified MIME type.

Definition at line 49 of file HTTPContentHeader.h.


Constructor & Destructor Documentation

cgicc::HTTPContentHeader::HTTPContentHeader ( const std::string &  mimeType  ) 

Create a new MIME type header.

Parameters:
mimeType The MIME type of the data which will be sent.

Definition at line 33 of file HTTPContentHeader.cpp.

References HTTPContentHeader().

Referenced by HTTPContentHeader().

cgicc::HTTPContentHeader::HTTPContentHeader ( const std::string &  mimeType  ) 

Create a new MIME type header.

Parameters:
mimeType The MIME type of the data which will be sent.

Definition at line 33 of file HTTPContentHeader.cpp.

References HTTPContentHeader().

Referenced by HTTPContentHeader().


Member Function Documentation

void cgicc::HTTPContentHeader::render ( std::ostream &  out  )  const [virtual]

Write this HTTPHeader to a stream.

Subclasses must implement this function.

Parameters:
out The ostream to which to write.

Implements cgicc::HTTPHeader.

Definition at line 41 of file HTTPContentHeader.cpp.

References cgicc::HTTPHeader::getCookies(), and cgicc::HTTPHeader::getData().


The documentation for this class was generated from the following files:
Generated on Tue Jul 3 15:44:42 2007 for GNUCgicc by  doxygen 1.5.1