SourcePro® 2025.1 |
SourcePro® API Reference Guide |
Helper class that defines a generic HTTP header. More...
#include <rw/http/RWHttpGenericHeader.h>
Public Member Functions | |
RWHttpGenericHeader (const RWCString &label, const RWCString &value, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpGenericHeader (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpGenericHeader (const RWHttpHeaderBase &hdr) | |
RWHttpGenericHeader (void) | |
virtual RWCString | getValue (void) const |
void | setValue (const RWCString &value) |
![]() | |
virtual bool | append (const RWCString &str) |
virtual RWCString | asString (void) const |
RWCString | getLabel (void) const |
RWHttpHeaderType | getType (void) const |
Additional Inherited Members | |
![]() | |
static unsigned | hash (const RWHttpHeaderBase &) |
![]() | |
RWHttpHeaderBase (const RWCString &label, RWHttpHeaderType type=RW_HTTP_ENTITY_HEADER) | |
RWHttpHeaderBase (void) | |
![]() | |
std::weak_ordering | operator (const RWHttpHeaderBase &lhs, const RWHttpHeaderBase &rhs) |
bool | operator== (const RWHttpHeaderBase &lhs, const RWHttpHeaderBase &rhs) |
RWHttpGenericHeader is a specialization class of RWHttpHeaderBase. It is a helper class that formats its contents as header_label:
header_value
.
|
inline |
Constructs a default RWHttpGenericHeader object.
|
inlineexplicit |
Constructs an RWHttpGenericHeader object with the label equal to label. The RWCString should contain 7-bit US-ASCII data.
|
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.
|
inlineexplicit |
Constructs an RWHttpGenericHeader object with the same values as hdr.
|
inlinevirtual |
Returns a copy of the internal value associated with the label. The RWCString should contain 7-bit US-ASCII data.
Implements RWHttpHeaderBase.
Copyright © 2025 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |