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

RWMimeMultipartType

Module:  Internet Protocols Module   Package:  MIME


RWMimeMultipartTypeRWMimeContentTypeRWHandleBase

Local Index

Members

Header File

#include <rw/mime/RWMimeMultipartType.h> 

Description

RWMimeMultipartType represents a Content-Type value with the media type multipart. As the name implies, the body of a multipart MIME part contains other MIME parts. The MIME specification requires that the header for a multipart Content-Type header contain a boundary parameter. The value of that parameter forms the boundary between the contained parts. For example, the message below specifies a multipart/alternative Content-Type with the boundary uniquestring.

This class inherits general purpose functions for working with a parameter list and provides convenience functions for working with the boundary parameter.

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

Reference

RWMimeMultipartType conforms to the multipart Content-Type header requirements specified in RFC 2045, Section 5.1.

Public Constructors

RWMimeMultipartType(void);
RWMimeMultipartType(const RWCString& subType,
                    const RWCString& boundary = "");
RWMimeMultipartType(const RWMimeMultipartType& second);
RWMimeMultipartType(const RWMimeContentType& second);

Public Destructor

virtual ~RWMimeMultipartType(void);

Public Member Operator

RWMimeMultipartType&
operator=(const RWMimeMultipartType& second);

Public Member Functions

RWCString
getBoundary(void) const;
void
setBoundary(const RWCString& value);

NOTE -- The getUniqueBoundary() function of RWMimeUtils generates boundary strings.

Protected Member Functions

virtual bool
checkType(const RWCString& mediaType,
          const RWCString& subType) 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.