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

RWMimeContentDispositionHeader

Module:  Internet Protocols Module   Package:  MIME


RWMimeContentDispositionHeaderRWMimeHeaderRWHandleBase

Local Index

Members

Header File

#include <rw/mime/RWMimeContentDispositionHeader.h> 

Description

RWMimeContentDispositionHeader represents the Content-Disposition header of a MIME part. The Content-Disposition specifies the way in which a recipient should present the part.

The Content-Disposition Header specification, RFC 1806, defines two values for the header. A value of inline states that the part should be presented at the same time the rest of the message is presented. A value of attachment states that the part should be treated as a separate file attached to the message. The specification also defines an optional filename parameter that provides a filename for the MIME part.

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

Reference

RWMimeContentDispositionHeader conforms to the Content-Disposition header requirements specified in RFC 1806.

Public Static Data Member

static const RWCString Label;

Public Constructors

RWMimeContentDispositionHeader(void);

NOTE -- A header with an empty value does not meet the requirements for a Content-Disposition header.
RWMimeContentDispositionHeader(const RWMimeContentDisposition& contentDisposition);
RWMimeContentDispositionHeader(const RWMimeContentDisposition& second);
RWMimeContentDispositionHeader(const RWMimeHandle& second);

Public Destructor

virtual ~RWMimeContentDispositionHeader(void);

Public Member Operator

RWMimeContentDescriptionHeader&
operator=(const RWMimeContentDescriptionHeader& second);

Public Member Functions

RWMimeContentDisposition
getContentDisposition(void) const;
void
setContentDisposition(const RWMimeContentDisposition& contentDisposition);

Protected Member Functions

RWMimeContentDispositionHeaderImp&
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.