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

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

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

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

Implements Http::One::ChunkExtensionValueParser.

Definition at line 2080 of file ModXact.cc.

References assert.

◆ 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