#include <MessageRep.h>

Inheritance diagram for Adaptation::Ecap::StatusLineRep:
Collaboration diagram for Adaptation::Ecap::StatusLineRep:

Public Types

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

Public Member Functions

 StatusLineRep (HttpReply &aMessage)
 
virtual void statusCode (int code)
 
virtual int statusCode () const
 
virtual void reasonPhrase (const Area &phrase)
 
virtual Area reasonPhrase () const
 
virtual libecap::Version version () const
 
virtual void version (const libecap::Version &aVersion)
 
virtual Name protocol () const
 
virtual void protocol (const Name &aProtocol)
 

Static Protected Member Functions

static AnyP::ProtocolType TranslateProtocolId (const Name &name)
 

Private Attributes

HttpReplytheMessage
 

Detailed Description

Definition at line 105 of file MessageRep.h.

Member Typedef Documentation

◆ Area

Definition at line 109 of file MessageRep.h.

◆ Name

Definition at line 108 of file MessageRep.h.

Constructor & Destructor Documentation

◆ StatusLineRep()

Adaptation::Ecap::StatusLineRep::StatusLineRep ( HttpReply aMessage)

Definition at line 285 of file MessageRep.cc.

Member Function Documentation

◆ protocol() [1/2]

libecap::Name Adaptation::Ecap::StatusLineRep::protocol ( ) const
virtual

Definition at line 330 of file MessageRep.cc.

References Adaptation::Ecap::FirstLineRep::protocol().

◆ protocol() [2/2]

void Adaptation::Ecap::StatusLineRep::protocol ( const Name aProtocol)
virtual

Definition at line 336 of file MessageRep.cc.

References Adaptation::Ecap::FirstLineRep::protocol().

◆ reasonPhrase() [1/2]

void Adaptation::Ecap::StatusLineRep::reasonPhrase ( const Area phrase)
virtual

Definition at line 304 of file MessageRep.cc.

References Http::StatusLine::resetReason(), HttpReply::sline, and theMessage.

◆ reasonPhrase() [2/2]

Adaptation::Ecap::StatusLineRep::Area Adaptation::Ecap::StatusLineRep::reasonPhrase ( ) const
virtual

Definition at line 312 of file MessageRep.cc.

References Http::StatusLine::reason(), HttpReply::sline, and theMessage.

◆ statusCode() [1/2]

void Adaptation::Ecap::StatusLineRep::statusCode ( int  code)
virtual

◆ statusCode() [2/2]

int Adaptation::Ecap::StatusLineRep::statusCode ( ) const
virtual

Definition at line 297 of file MessageRep.cc.

References HttpReply::sline, Http::StatusLine::status(), and theMessage.

◆ TranslateProtocolId()

AnyP::ProtocolType Adaptation::Ecap::FirstLineRep::TranslateProtocolId ( const Name name)
staticprotectedinherited

Definition at line 188 of file MessageRep.cc.

References AnyP::PROTO_UNKNOWN.

Referenced by Adaptation::Ecap::FirstLineRep::protocol().

◆ version() [1/2]

libecap::Version Adaptation::Ecap::StatusLineRep::version ( ) const
virtual

Definition at line 318 of file MessageRep.cc.

References Adaptation::Ecap::FirstLineRep::version().

◆ version() [2/2]

void Adaptation::Ecap::StatusLineRep::version ( const libecap::Version &  aVersion)
virtual

Definition at line 324 of file MessageRep.cc.

References Adaptation::Ecap::FirstLineRep::version().

Member Data Documentation

◆ theMessage

HttpReply& Adaptation::Ecap::StatusLineRep::theMessage
private

Definition at line 125 of file MessageRep.h.

Referenced by reasonPhrase(), and statusCode().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors