SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Helper class that defines a generic HTTP header. More...
#include <rw/http/RWHttpGenericHeader.h>
Public Member Functions | |
RWHttpGenericHeader (void) | |
RWHttpGenericHeader (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpGenericHeader (const RWCString &label, const RWCString &value, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpGenericHeader (const RWHttpHeaderBase &hdr) | |
void | setValue (const RWCString &value) |
virtual RWCString | getValue (void) const |
RWHttpGenericHeader is a specialization class of RWHttpHeaderBase. It is a helper class that formats its contents as header_label:
header_value
.
RWHttpGenericHeader::RWHttpGenericHeader | ( | void | ) | [inline] |
Constructs a default RWHttpGenericHeader object.
RWHttpGenericHeader::RWHttpGenericHeader | ( | const RWCString & | label, | |
RWHttpHeaderType | type = RW_HTTP_ENTITY_HEADER | |||
) | [inline] |
Constructs an RWHttpGenericHeader object with the label equal to label. The RWCString should contain 7-bit US-ASCII data.
RWHttpGenericHeader::RWHttpGenericHeader | ( | const RWCString & | label, | |
const RWCString & | value, | |||
RWHttpHeaderType | type = RW_HTTP_ENTITY_HEADER | |||
) | [inline] |
Constructs an RWHttpGenericHeader object with the label equal to label and the value equal to value. The RWCString should contain 7-bit US-ASCII data.
RWHttpGenericHeader::RWHttpGenericHeader | ( | const RWHttpHeaderBase & | hdr | ) | [inline] |
Constructs an RWHttpGenericHeader object with the same values as hdr.
RWCString RWHttpGenericHeader::getValue | ( | void | ) | const [inline, virtual] |
Returns a copy of the internal value associated with the label. The RWCString should contain 7-bit US-ASCII data.
Implements RWHttpHeaderBase.
© 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.