#include <MessageRep.h>
Public Types | |
typedef libecap::Name | Name |
typedef libecap::Area | Area |
Public Member Functions | |
HeaderRep (Http::Message &aMessage) | |
bool | hasAny (const Name &name) const override |
Value | value (const Name &name) const override |
void | add (const Name &name, const Value &value) override |
void | removeAny (const Name &name) override |
void | visitEach (libecap::NamedValueVisitor &visitor) const override |
Area | image () const override |
void | parse (const Area &buf) override |
Static Protected Member Functions | |
static Http::HdrType | TranslateHeaderId (const Name &name) |
Private Attributes | |
HttpHeader & | theHeader |
Http::Message & | theMessage |
Detailed Description
Definition at line 33 of file MessageRep.h.
Member Typedef Documentation
◆ Area
typedef libecap::Area Adaptation::Ecap::HeaderRep::Area |
Definition at line 37 of file MessageRep.h.
◆ Name
typedef libecap::Name Adaptation::Ecap::HeaderRep::Name |
Definition at line 36 of file MessageRep.h.
Constructor & Destructor Documentation
◆ HeaderRep()
Adaptation::Ecap::HeaderRep::HeaderRep | ( | Http::Message & | aMessage | ) |
Definition at line 26 of file MessageRep.cc.
Member Function Documentation
◆ add()
|
override |
Definition at line 52 of file MessageRep.cc.
References SBuf::c_str(), and Http::CONTENT_LENGTH.
◆ hasAny()
|
override |
Definition at line 32 of file MessageRep.cc.
References Http::OTHER.
◆ image()
|
override |
Definition at line 88 of file MessageRep.cc.
References MemBuf::content(), MemBuf::contentSize(), and MemBuf::init().
◆ parse()
|
override |
Definition at line 98 of file MessageRep.cc.
◆ removeAny()
|
override |
Definition at line 64 of file MessageRep.cc.
References Http::CONTENT_LENGTH, and Http::OTHER.
◆ TranslateHeaderId()
|
staticprotected |
Definition at line 105 of file MessageRep.cc.
References Http::OTHER.
◆ value()
|
override |
Definition at line 41 of file MessageRep.cc.
References Http::OTHER, String::size(), and String::termedBuf().
◆ visitEach()
|
override |
Definition at line 77 of file MessageRep.cc.
References HttpHeaderInitPos.
Member Data Documentation
◆ theHeader
|
private |
Definition at line 55 of file MessageRep.h.
◆ theMessage
|
private |
Definition at line 56 of file MessageRep.h.
The documentation for this class was generated from the following files:
- src/adaptation/ecap/MessageRep.h
- src/adaptation/ecap/MessageRep.cc