Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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 List of all members.

Public Methods

Constructor and Destructor
 HTTPContentHeader (const std::string &mimeType)
 Create a new MIME type header. More...

virtual ~HTTPContentHeader ()
 Destructor. More...

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

Detailed Description

HTTP header for data of a specified MIME type.

Definition at line 47 of file HTTPContentHeader.h.

Constructor & Destructor Documentation

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

Create a new MIME type header.

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

virtual cgicc::HTTPContentHeader::~HTTPContentHeader   [virtual]


Member Function Documentation

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

Write this HTTPHeader to a stream.

Subclasses must implement this function.

out  The ostream to which to write.

Reimplemented from cgicc::HTTPHeader.

The documentation for this class was generated from the following file:
GNU cgicc - A C++ class library for writing CGI applications
Copyright © 1996 - 2002 Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.
Documentation generated Sun Mar 17 16:40:58 2002 for cgicc by doxygen