SourcePro® API Reference Guide

Product Documentation:
   SourcePro
Documentation Home
List of all members | Public Member Functions
RWHttpIfEntityTagRangeHeader Class Reference

Helper class that defines the HTTP If-Range header with entity tag. More...

#include <rw/http/RWHttpIfEntityTagRangeHeader.h>

Inheritance diagram for RWHttpIfEntityTagRangeHeader:
RWHttpEntityTagHeaderBase RWHttpHeaderBase

Public Member Functions

 RWHttpIfEntityTagRangeHeader (void)
 
 RWHttpIfEntityTagRangeHeader (const RWHttpEntityTag &etag)
 
 RWHttpIfEntityTagRangeHeader (const RWHttpGenericHeader &hdr)
 
- Public Member Functions inherited from RWHttpEntityTagHeaderBase
RWHttpEntityTag getEntityTag () const
 
virtual RWCString getValue () const
 
void setEntityTag (const RWHttpEntityTag &etag)
 
- 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 RWHttpEntityTagHeaderBase
 RWHttpEntityTagHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 
 RWHttpEntityTagHeaderBase (const RWCString &label, const RWHttpEntityTag &etag, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 
- Protected Member Functions inherited from RWHttpHeaderBase
 RWHttpHeaderBase (void)
 
 RWHttpHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 

Detailed Description

RWHttpIfEntityTagRangeHeader is a specialization class of RWHttpEntityTagHeaderBase. It is a helper class that formats its contents as If-Range: followed by an entity tag.

Constructor & Destructor Documentation

RWHttpIfEntityTagRangeHeader::RWHttpIfEntityTagRangeHeader ( void  )
inline

Constructs a default RWHttpIfEntityTagRangeHeader object with the header label set to If-Range and the entity tag set to a default RWHttpEntityTag object.

RWHttpIfEntityTagRangeHeader::RWHttpIfEntityTagRangeHeader ( const RWHttpEntityTag etag)
inline

Constructs an RWHttpIfEntityTagRangeHeader with the header label set to If-Range and entity tag set to etag.

RWHttpIfEntityTagRangeHeader::RWHttpIfEntityTagRangeHeader ( const RWHttpGenericHeader hdr)

Constructs an RWHttpIfEntityTagRangeHeader 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.