Helper class that defines an HTTP If-Range header with HTTP-date. More...
#include <rw/http/RWHttpIfDateRangeHeader.h>
Public Member Functions | |
RWHttpIfDateRangeHeader (void) | |
RWHttpIfDateRangeHeader (const RWHttpDate &date) | |
RWHttpIfDateRangeHeader (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) | |
RWHttpIfDateRangeHeader is a specialization class of RWHttpDateHeader. It is a helper class that formats its contents as If-Range
: followed by a valid HTTP date string.
|
inline |
Constructs a default RWHttpIfDateRangeHeader object with the header label set to If-Range
and the HTTP date set to the current date and time.
|
inline |
Constructs an RWHttpIfDateRangeHeader with the header label set to If-Range
and the HTTP date set to date.
RWHttpIfDateRangeHeader::RWHttpIfDateRangeHeader | ( | const RWHttpGenericHeader & | hdr | ) |
Constructs an RWHttpIfDateRangeHeader from the RWHttpGenericHeader hdr. If the RWHttpGenericHeader is not a validly formatted HTTP If-Range
header, an RWHttpHeaderParseError is thrown.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |