Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internet Protocols Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWHttpContentTypeHeader

Module:  Internet Protocols Module   Package:  HTTP


RWHttpContentTypeHeader RWHttpHeaderBase

Local Index

Members

Header File

#include <rw/http/RWHttpContentTypeHeader.h>

Description

RWHttpContentTypeHeader is a specialization class of RWHttpHeaderBase. It is a helper class that formats its contents as Content-Type: header_value, where header_value is the media type and sub type of the message, as well as any parameters describing the content.

Example

Public Constructors

RWHttpContentTypeHeader();
RWHttpContentTypeHeader(const RWCString& mediaType, 
                      const RWCString& subType);
RWHttpContentTypeHeader(const RWHttpGenericHeader& hdr);

Public Member Functions

void 
setContentType(const RWCString& mediaType, const RWCString&
subType);
RWCString 
getMediaType(void) const;
RWCString
getSubType(void) const;
RWCString
getValue(void) const;
bool
addParameter(const RWCString& name, const RWCString& value);
bool
removeParameter(const RWCString& name);
RWCString
getParameterValue(const RWCString& name) const;
RWTValSlist<RWCString>
getParameterNames(void) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.