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>
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.
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.
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.
Returns the internal entity tag value.
RWCString RWHttpEntityTagHeaderBase::getValue |
( |
void |
| ) |
const |
|
inlinevirtual |
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.