SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Describes an HTTP entity tag. More...
#include <rw/http/RWHttpEntityTag.h>
Public Types | |
enum | validator { weak, strong } |
Public Member Functions | |
RWHttpEntityTag (void) | |
RWHttpEntityTag (const RWCString &tag, validator val=RWHttpEntityTag::strong) | |
RWCString | asString (void) const |
bool | compareTo (const RWHttpEntityTag &etag, validator val=RWHttpEntityTag::strong) |
RWHttpEntityTag::validator | getStrength () const |
RWCString | getTag () const |
void | setEntityTag (const RWCString &tag, validator val=RWHttpEntityTag::strong) |
RWHttpEntityTag maintains the entity tag. It compares two entity tags as defined in the HTTP/1.1 specification. RWHttpEntityTag is used primarily within entity-tag based classes.
|
inline |
Constructs a default RWHttpEntityTag. The stored tag is an empty string with its validator level set to weak.
|
inline |
Constructs an RWHttpEntityTag with its value set to str, and its validator level set to val. The RWCString should contain 7-bit US-ASCII data.
RWCString RWHttpEntityTag::asString | ( | void | ) | const |
bool RWHttpEntityTag::compareTo | ( | const RWHttpEntityTag & | etag, |
validator | val = RWHttpEntityTag::strong |
||
) |
Compares this
and etag as defined in RFC2616 [13.3.3]. val specifies whether this is a weak or strong comparison.
|
inline |
Returns the strength of the entity tag.
|
inline |
Returns the entity tag. The RWCString should contain 7-bit US-ASCII data.
|
inline |
Copyright © 2014 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.
Provide feedback to Rogue Wave about its documentation.