#include <HttpHeader.h>

Collaboration diagram for HttpHeaderEntry:

Public Member Functions

 HttpHeaderEntry (Http::HdrType id, const SBuf &name, const char *value)
 ~HttpHeaderEntry ()
HttpHeaderEntryclone () const
void packInto (Packable *p) const
int getInt () const
int64_t getInt64 () const
size_t length () const
 expected number of bytes written by packInto(), including ": " and CRLF More...

Static Public Member Functions

static HttpHeaderEntryparse (const char *field_start, const char *field_end, const http_hdr_owner_type msgType)

Public Attributes

Http::HdrType id
SBuf name
String value

Private Member Functions

 MEMPROXY_CLASS (HttpHeaderEntry)

Detailed Description

Definition at line 50 of file HttpHeader.h.

Constructor & Destructor Documentation

◆ HttpHeaderEntry()

HttpHeaderEntry::HttpHeaderEntry ( Http::HdrType  id,
const SBuf name,
const char *  value 

◆ ~HttpHeaderEntry()

HttpHeaderEntry::~HttpHeaderEntry ( )

Definition at line 1379 of file HttpHeader.cc.

References assert, Http::BAD_HDR, debugs, headerStatsTable(), id, name, and value.

Member Function Documentation

◆ clone()

HttpHeaderEntry * HttpHeaderEntry::clone ( ) const

◆ getInt()

int HttpHeaderEntry::getInt ( ) const

◆ getInt64()

int64_t HttpHeaderEntry::getInt64 ( ) const

◆ length()

size_t HttpHeaderEntry::length ( ) const

Definition at line 64 of file HttpHeader.h.

References SBuf::length(), name, String::size(), and value.

Referenced by HttpHeader::addEntry().


HttpHeaderEntry::MEMPROXY_CLASS ( HttpHeaderEntry  )

◆ packInto()

void HttpHeaderEntry::packInto ( Packable p) const

◆ parse()

Member Data Documentation

◆ id

◆ name

◆ value

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






Web Site Translations