SourcePro® 2023.1 |
SourcePro® API Reference Guide |
Helper class that defines an HTTP If-Modified-Since header. More...
#include <rw/http/RWHttpIfModifiedSinceHeader.h>
Public Member Functions | |
RWHttpIfModifiedSinceHeader (void) | |
RWHttpIfModifiedSinceHeader (const RWHttpDate &d) | |
RWHttpIfModifiedSinceHeader (const RWHttpGenericHeader &hdr) | |
Public Member Functions inherited from RWHttpDateHeader | |
RWHttpDateHeader (void) | |
RWHttpDateHeader (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpDateHeader (const RWHttpDate &d) | |
RWHttpDateHeader (const RWCString &label, const RWHttpDate &d, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpDateHeader (const RWHttpGenericHeader &hdr) | |
RWHttpDate | getDate (void) const |
virtual RWCString | getValue (void) const |
void | setDate (const RWHttpDate &d) |
Public Member Functions inherited from RWHttpHeaderBase | |
virtual bool | append (const RWCString &str) |
virtual RWCString | asString (void) const |
RWCString | getLabel (void) const |
RWHttpHeaderType | getType () const |
bool | operator!= (const RWHttpHeaderBase &) const |
bool | operator< (const RWHttpHeaderBase &hdr) const |
bool | operator== (const RWHttpHeaderBase &h) const |
Additional Inherited Members | |
Static Public Member Functions inherited from RWHttpHeaderBase | |
static unsigned | hash (const RWHttpHeaderBase &) |
Protected Member Functions inherited from RWHttpHeaderBase | |
RWHttpHeaderBase (void) | |
RWHttpHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
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.
|
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.
|
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 RWHttpGenericHeader that represents an If-Modified-Since
HTTP header. If the RWHttpGenericHeader 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.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |