#include <MessageRep.h>
![Inheritance graph](classAdaptation_1_1Ecap_1_1HeaderRep__inherit__graph.png)
![Collaboration graph](classAdaptation_1_1Ecap_1_1HeaderRep__coll__graph.png)
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 39 of file MessageRep.h.
Member Typedef Documentation
◆ Area
typedef libecap::Area Adaptation::Ecap::HeaderRep::Area |
Definition at line 43 of file MessageRep.h.
◆ Name
typedef libecap::Name Adaptation::Ecap::HeaderRep::Name |
Definition at line 42 of file MessageRep.h.
Constructor & Destructor Documentation
◆ HeaderRep()
Adaptation::Ecap::HeaderRep::HeaderRep | ( | Http::Message & | aMessage | ) |
Definition at line 31 of file MessageRep.cc.
Member Function Documentation
◆ add()
|
override |
Definition at line 57 of file MessageRep.cc.
References SBuf::c_str(), and Http::CONTENT_LENGTH.
◆ hasAny()
|
override |
Definition at line 37 of file MessageRep.cc.
References Http::OTHER.
◆ image()
|
override |
Definition at line 93 of file MessageRep.cc.
References MemBuf::content(), MemBuf::contentSize(), and MemBuf::init().
◆ parse()
|
override |
Definition at line 103 of file MessageRep.cc.
◆ removeAny()
|
override |
Definition at line 69 of file MessageRep.cc.
References Http::CONTENT_LENGTH, and Http::OTHER.
◆ TranslateHeaderId()
|
staticprotected |
Definition at line 110 of file MessageRep.cc.
References Http::OTHER.
◆ value()
|
override |
Definition at line 46 of file MessageRep.cc.
References Http::OTHER, String::size(), and String::termedBuf().
◆ visitEach()
|
override |
Definition at line 82 of file MessageRep.cc.
References HttpHeaderInitPos.
Member Data Documentation
◆ theHeader
|
private |
Definition at line 61 of file MessageRep.h.
◆ theMessage
|
private |
Definition at line 62 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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products