SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
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 (const RWHttpEntityTag &etag)
 
 RWHttpIfEntityTagRangeHeader (const RWHttpGenericHeader &hdr)
 
 RWHttpIfEntityTagRangeHeader (void)
 
- 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 (void) 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, const RWHttpEntityTag &etag, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 
 RWHttpEntityTagHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 
- Protected Member Functions inherited from RWHttpHeaderBase
 RWHttpHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 
 RWHttpHeaderBase (void)
 

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() [1/3]

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() [2/3]

RWHttpIfEntityTagRangeHeader::RWHttpIfEntityTagRangeHeader ( const RWHttpEntityTag & etag)
inline

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

◆ RWHttpIfEntityTagRangeHeader() [3/3]

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 © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.