rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWHttpEntityTagHeaderBase Class Reference
[HTTP]

Helper class that defines the basic formatting and structure of headers that take an entity tag as an argument. More...

#include <rw/http/RWHttpEntityTagHeaderBase.h>

Inheritance diagram for RWHttpEntityTagHeaderBase:
RWHttpHeaderBase RWHttpIfEntityTagRangeHeader

List of all members.

Public Member Functions

void setEntityTag (const RWHttpEntityTag &etag)
RWHttpEntityTag getEntityTag () const
virtual RWCString getValue () const

Protected Member Functions

 RWHttpEntityTagHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)
 RWHttpEntityTagHeaderBase (const RWCString &label, const RWHttpEntityTag &etag, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER)

Detailed Description

RWHttpEntityTagHeaderBase is a specialization of RWHttpHeaderBase. It is a helper class that defines the basic formatting and structure of headers that take an entity tag as an argument.


Constructor & Destructor Documentation

RWHttpEntityTagHeaderBase::RWHttpEntityTagHeaderBase ( const RWCString label,
RWHttpHeaderType  type = RW_HTTP_ENTITY_HEADER 
) [inline, protected]

Constructs a default RWHttpEntityTagHeaderBase object with the label value set to label and the internal RWHttpHeaderType set to type. The RWCString should contain 7-bit US-ASCII data.

RWHttpEntityTagHeaderBase::RWHttpEntityTagHeaderBase ( const RWCString label,
const RWHttpEntityTag etag,
RWHttpHeaderType  type = RW_HTTP_ENTITY_HEADER 
) [inline, protected]

Constructs an RWHttpEntityTagHeaderBase object with the label set to label, the entity tag set to etag, and the type set to type. The RWCString should contain 7-bit US-ASCII data.


Member Function Documentation

RWHttpEntityTag RWHttpEntityTagHeaderBase::getEntityTag (  )  const [inline]

Returns the internal entity tag value.

RWCString RWHttpEntityTagHeaderBase::getValue ( void   )  const [inline, virtual]

Returns the entity tag as a HTTP formatted string. The RWCString should contain 7-bit US-ASCII data.

Implements RWHttpHeaderBase.

void RWHttpEntityTagHeaderBase::setEntityTag ( const RWHttpEntityTag etag  )  [inline]

Sets the internal entity tag value to etag.

 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.