#include <MessageRep.h>

Inheritance diagram for Adaptation::Ecap::HeaderRep:
Collaboration diagram for Adaptation::Ecap::HeaderRep:

Public Types

typedef libecap::Name Name
 
typedef libecap::Area Area
 

Public Member Functions

 HeaderRep (Http::Message &aMessage)
 
virtual bool hasAny (const Name &name) const
 
virtual Value value (const Name &name) const
 
virtual void add (const Name &name, const Value &value)
 
virtual void removeAny (const Name &name)
 
virtual void visitEach (libecap::NamedValueVisitor &visitor) const
 
virtual Area image () const
 
virtual void parse (const Area &buf)
 

Static Protected Member Functions

static Http::HdrType TranslateHeaderId (const Name &name)
 

Private Attributes

HttpHeadertheHeader
 
Http::MessagetheMessage
 

Detailed Description

Definition at line 33 of file MessageRep.h.

Member Typedef Documentation

typedef libecap::Area Adaptation::Ecap::HeaderRep::Area

Definition at line 37 of file MessageRep.h.

typedef libecap::Name Adaptation::Ecap::HeaderRep::Name

Definition at line 36 of file MessageRep.h.

Constructor & Destructor Documentation

Adaptation::Ecap::HeaderRep::HeaderRep ( Http::Message aMessage)

Definition at line 27 of file MessageRep.cc.

Member Function Documentation

void Adaptation::Ecap::HeaderRep::add ( const Name name,
const Value &  value 
)
virtual

Definition at line 53 of file MessageRep.cc.

References SBuf::c_str(), Http::CONTENT_LENGTH, and HttpHeaderEntry::getInt64().

bool Adaptation::Ecap::HeaderRep::hasAny ( const Name name) const
virtual

Definition at line 33 of file MessageRep.cc.

References Http::OTHER.

libecap::Area Adaptation::Ecap::HeaderRep::image ( ) const
virtual

Definition at line 89 of file MessageRep.cc.

References MemBuf::content(), MemBuf::contentSize(), and MemBuf::init().

void Adaptation::Ecap::HeaderRep::parse ( const Area buf)
virtual

Definition at line 99 of file MessageRep.cc.

References error(), and Must.

void Adaptation::Ecap::HeaderRep::removeAny ( const Name name)
virtual

Definition at line 65 of file MessageRep.cc.

References Http::CONTENT_LENGTH, and Http::OTHER.

Http::HdrType Adaptation::Ecap::HeaderRep::TranslateHeaderId ( const Name name)
staticprotected

Definition at line 106 of file MessageRep.cc.

References Http::OTHER.

Adaptation::Ecap::HeaderRep::Value Adaptation::Ecap::HeaderRep::value ( const Name name) const
virtual

Definition at line 42 of file MessageRep.cc.

References Http::OTHER, String::size(), and String::termedBuf().

void Adaptation::Ecap::HeaderRep::visitEach ( libecap::NamedValueVisitor &  visitor) const
virtual

Definition at line 78 of file MessageRep.cc.

References HttpHeaderInitPos.

Member Data Documentation

HttpHeader& Adaptation::Ecap::HeaderRep::theHeader
private

Definition at line 55 of file MessageRep.h.

Http::Message& Adaptation::Ecap::HeaderRep::theMessage
private

Definition at line 56 of file MessageRep.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors