rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWHttpIfModifiedSinceHeader Class Reference
[HTTP]

Helper class that defines an HTTP If-Modified-Since header. More...

#include <rw/http/RWHttpIfModifiedSinceHeader.h>

Inheritance diagram for RWHttpIfModifiedSinceHeader:
RWHttpDateHeader RWHttpHeaderBase

List of all members.

Public Member Functions

 RWHttpIfModifiedSinceHeader (void)
 RWHttpIfModifiedSinceHeader (const RWHttpDate &d)
 RWHttpIfModifiedSinceHeader (const RWHttpGenericHeader &hdr)

Detailed Description

RWHttpIfModifiedSinceHeader is a specialization class of RWHttpDateHeader. It is a helper class that formats its contents as If-Modified-Since: header_value, where header_value is an RWHttpDate object.


Constructor & Destructor Documentation

RWHttpIfModifiedSinceHeader::RWHttpIfModifiedSinceHeader ( void   )  [inline]

Constructs a default RWHttpIfModifiedSinceHeader object with the header label set to If-Modified-Since and its associated value set to the current date and time.

RWHttpIfModifiedSinceHeader::RWHttpIfModifiedSinceHeader ( const RWHttpDate d  )  [inline]

Constructs an RWHttpIfModifiedSinceHeader object with the header label set to If-Modified-Since and its associated value set to d.

RWHttpIfModifiedSinceHeader::RWHttpIfModifiedSinceHeader ( const RWHttpGenericHeader hdr  ) 

Constructs an RWHttpIfModifiedSinceHeader object from an RWHttpGenericHea der that represents an If-Modified-Since HTTP header. If the RWHttpGeneric Header does not represent an If-Modified-Since HTTP header or if the value of the RWHttpGenericHeader does not conform to the formatting of an If-Modified-Since value, an RWHttpHeaderParseError exception is thrown.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.