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.
◆ RWHttpEntityTagHeaderBase() [1/2]
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() [2/2]
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.
◆ getEntityTag()
Returns the internal entity tag value.
◆ getValue()
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.
◆ setEntityTag()
void RWHttpEntityTagHeaderBase::setEntityTag |
( |
const RWHttpEntityTag & | etag | ) |
|
|
inline |
Sets the internal entity tag value to etag.