#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

◆ 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()

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

◆ hasAny()

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

◆ image()

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

◆ parse()

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

Definition at line 98 of file MessageRep.cc.

References error(), Must, Http::Message::parse(), and theMessage.

◆ removeAny()

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

◆ TranslateHeaderId()

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

Definition at line 105 of file MessageRep.cc.

References Http::OTHER.

Referenced by add(), hasAny(), removeAny(), and value().

◆ value()

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

◆ visitEach()

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

Definition at line 77 of file MessageRep.cc.

References HttpHeader::getEntry(), HttpHeaderInitPos, and theHeader.

Member Data Documentation

◆ theHeader

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

Definition at line 55 of file MessageRep.h.

Referenced by add(), hasAny(), removeAny(), value(), and visitEach().

◆ theMessage

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

Definition at line 56 of file MessageRep.h.

Referenced by add(), image(), parse(), Adaptation::Ecap::MessageRep::raw(), and removeAny().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors