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

RWMimeContentTransferEncodingHeader

Module:  Internet Protocols Module   Package:  MIME


RWMimeContentTransferEncodingHeaderRWMimeHeaderRWHandleBase

Local Index

Members

Header File

#include <rw/mime/RWMimeContentTransferEncodingHeader.h> 

Description

RWMimeContentTransferEncodingHeader represents the Content-Transfer-Encoding header of a MIME part. The Content-Transfer-Encoding header identifies whether the body of the part has been encoded and/or the character set of the body. A value of 7bit, 8bit, or binary indicates that the body has not been encoded, and the data is 7-bit ASCII, 8-bit ASCII, or binary, respectively. A value of base64 or quoted-printable indicates that the body has been encoded. Since both base64 encoding and quoted-printable encoding result in 7-bit ASCII encoded messages, either of these values also indicates that the body contains 7-bit ASCII data.

An instance of this class is a handle to a private, reference-counted body.

Reference

RWMimeContentTransferEncodingHeader conforms to the Content-Transfer-Encoding header requirements specified in RFC 2045, Section 6. For more detail on encodings, see RFC 2045 or the discussion in the Internet Protocols Module User's Guide.

Public Static Data Member

static const RWCString Label;

Public Constructors

RWMimeContentTransferEncodingHeader(void);

NOTE -- A header with an empty value does not meet the requirements for a Content-Transfer-Encoding header.
RWMimeContentTransferEncodingHeader(const RWCString& encoding);
RWMimeContentTransferEncodingHeader(const RWMimeContentTransferEncoding& second);
RWMimeContentTransferEncodingHeader(const RWMimeHeader& second);

Public Destructor

virtual ~RWMimeContentTransferEncodingHeader(void);

Public Member Operator

RWMimeContentTransferEncodingHeader&
operator=(const RWMimeContentTransferEncodingHeader& second);

Public Member Functions

RWCString
getEncoding(void) const;
void
setEncoding(const RWCString& encoding);

Protected Member Functions

RWMimeContentTransferEncodingHeaderImp&
body(void) const;
virtual bool
checkLabel(const RWCString& label) 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.