Adaptation::Icap::ChunkExtensionValueParser Class Referenceabstract

handles ICAP-specific chunk extensions supported by Squid More...

#include <ModXact.h>

Inheritance diagram for Adaptation::Icap::ChunkExtensionValueParser:
Collaboration diagram for Adaptation::Icap::ChunkExtensionValueParser:

Public Types

typedef ::Parser::Tokenizer Tokenizer
 

Public Member Functions

virtual void parse (Tokenizer &tok, const SBuf &extName) override
 
bool sawUseOriginalBody () const
 
uint64_t useOriginalBody () const
 
virtual void parse (Tokenizer &tok, const SBuf &extName)=0
 extracts and then interprets (or ignores) the extension value More...
 

Static Public Member Functions

static void Ignore (Tokenizer &tok, const SBuf &extName)
 extracts and ignores the value of a named extension More...
 

Private Attributes

int64_t useOriginalBody_ = -1
 the value of the parsed use-original-body chunk extension (or -1) More...
 

Static Private Attributes

static const SBuf UseOriginalBodyName
 

Detailed Description

Definition at line 125 of file ModXact.h.

Member Typedef Documentation

◆ Tokenizer

Member Function Documentation

◆ Ignore()

void Http::One::ChunkExtensionValueParser::Ignore ( Tokenizer tok,
const SBuf extName 
)
staticinherited

◆ parse() [1/2]

void Adaptation::Icap::ChunkExtensionValueParser::parse ( Tokenizer tok,
const SBuf extName 
)
overridevirtual

Definition at line 2077 of file ModXact.cc.

References assert.

◆ parse() [2/2]

virtual void Http::One::ChunkExtensionValueParser::parse ( Tokenizer tok,
const SBuf extName 
)
pure virtualinherited

◆ sawUseOriginalBody()

bool Adaptation::Icap::ChunkExtensionValueParser::sawUseOriginalBody ( ) const
inline

Definition at line 131 of file ModXact.h.

References useOriginalBody_.

Referenced by useOriginalBody().

◆ useOriginalBody()

uint64_t Adaptation::Icap::ChunkExtensionValueParser::useOriginalBody ( ) const
inline

Definition at line 132 of file ModXact.h.

References assert, sawUseOriginalBody(), and useOriginalBody_.

Member Data Documentation

◆ useOriginalBody_

int64_t Adaptation::Icap::ChunkExtensionValueParser::useOriginalBody_ = -1
private

Definition at line 138 of file ModXact.h.

Referenced by sawUseOriginalBody(), and useOriginalBody().

◆ UseOriginalBodyName

const SBuf Adaptation::Icap::ChunkExtensionValueParser::UseOriginalBodyName
staticprivate

Definition at line 135 of file ModXact.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors