Adaptation::Icap::TrailerParser Class Reference

Parses and stores ICAP trailer header block. More...

#include <ModXact.h>

Collaboration diagram for Adaptation::Icap::TrailerParser:

Public Member Functions

 TrailerParser ()
 
bool parse (const char *buf, int len, int atEnd, Http::StatusCode *error)
 

Public Attributes

HttpHeader trailer
 
size_t hdr_sz
 parsed trailer size if parse() was successful More...
 

Detailed Description

Definition at line 109 of file ModXact.h.

Constructor & Destructor Documentation

Adaptation::Icap::TrailerParser::TrailerParser ( )
inline

Definition at line 112 of file ModXact.h.

Member Function Documentation

bool Adaptation::Icap::TrailerParser::parse ( const char *  buf,
int  len,
int  atEnd,
Http::StatusCode error 
)

Parses trailers stored in a buffer.

Returns
true and sets hdr_sz on success
false and sets *error to zero when needs more data
false and sets *error to a positive Http::StatusCode on error

Definition at line 2066 of file ModXact.cc.

References Http::scInvalidHeader.

Member Data Documentation

size_t Adaptation::Icap::TrailerParser::hdr_sz

Definition at line 120 of file ModXact.h.

HttpHeader Adaptation::Icap::TrailerParser::trailer

Definition at line 118 of file ModXact.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors