MessageRep.cc
Go to the documentation of this file.
81 const Name name(std::string(e->name.rawContent(), e->name.length())); // optimize: find std Names
353 return (theBody != nullptr && theBody->bodySizeKnown()) ? BodySize(theBody->bodySize()) : BodySize();
void error(char *format,...)
Definition: MessageRep.h:130
BodyRep(const BodyPipe::Pointer &aBody)
Definition: MessageRep.cc:338
Definition: MessageRep.h:61
libecap::Version version() const
Definition: MessageRep.cc:119
static AnyP::ProtocolType TranslateProtocolId(const Name &name)
Definition: MessageRep.cc:184
FirstLineRep(Http::Message &aMessage)
Definition: MessageRep.cc:114
Definition: MessageRep.h:34
Value value(const Name &name) const override
Definition: MessageRep.cc:41
void add(const Name &name, const Value &value) override
Definition: MessageRep.cc:52
HeaderRep(Http::Message &aMessage)
Definition: MessageRep.cc:26
static Http::HdrType TranslateHeaderId(const Name &name)
Definition: MessageRep.cc:105
bool hasAny(const Name &name) const override
Definition: MessageRep.cc:32
void removeAny(const Name &name) override
Definition: MessageRep.cc:64
void visitEach(libecap::NamedValueVisitor &visitor) const override
Definition: MessageRep.cc:77
Definition: MessageRep.h:148
MessageRep(Http::Message *rawHeader)
Definition: MessageRep.cc:358
libecap::FirstLine * theFirstLineRep
Definition: MessageRep.h:170
libecap::FirstLine & firstLine() override
Definition: MessageRep.cc:399
libecap::Header & header() override
Definition: MessageRep.cc:411
libecap::shared_ptr< libecap::Message > clone() const override
Definition: MessageRep.cc:385
Definition: MessageRep.h:82
libecap::Version version() const override
Definition: MessageRep.cc:255
RequestLineRep(HttpRequest &aMessage)
Definition: MessageRep.cc:193
Name protocol() const override
Definition: MessageRep.cc:267
Definition: MessageRep.h:106
int statusCode() const override
Definition: MessageRep.cc:292
libecap::Version version() const override
Definition: MessageRep.cc:313
Name protocol() const override
Definition: MessageRep.cc:325
Area reasonPhrase() const override
Definition: MessageRep.cc:307
StatusLineRep(HttpReply &aMessage)
Definition: MessageRep.cc:280
Definition: XactionRep.h:34
Definition: BodyPipe.h:91
Definition: HttpHeader.h:51
Definition: HttpReply.h:25
Definition: RequestMethod.h:27
Definition: HttpRequest.h:49
Definition: MemBuf.h:24
Definition: SquidString.h:26
const libecap::Name protocolIcp
const libecap::Name protocolUnknown
const libecap::Name protocolHtcp
const libecap::Name protocolIcy
enum Http::_method_t MethodType