#include <HttpHeaderData.h>

Inheritance diagram for ACLHTTPHeaderData:
Collaboration diagram for ACLHTTPHeaderData:

Public Member Functions

 ACLHTTPHeaderData ()
 
 ~ACLHTTPHeaderData () override
 
bool match (const HttpHeader &) override
 
SBufList dump () const override
 
void parse () override
 
bool empty () const override
 
virtual SBufList dump () const=0
 
virtual void prepareForUse ()
 
virtual bool empty () const=0
 

Private Member Functions

 MEMPROXY_CLASS (ACLHTTPHeaderData)
 
const Acl::OptionslineOptions () override
 supported ACL "line" options (e.g., "-i") More...
 

Private Attributes

Http::HdrType hdrId
 
SBuf hdrName
 
ACLData< char const * > * regex_rule
 

Detailed Description

Definition at line 17 of file HttpHeaderData.h.

Constructor & Destructor Documentation

◆ ACLHTTPHeaderData()

ACLHTTPHeaderData::ACLHTTPHeaderData ( )

Definition at line 30 of file HttpHeaderData.cc.

◆ ~ACLHTTPHeaderData()

ACLHTTPHeaderData::~ACLHTTPHeaderData ( )
override

Definition at line 33 of file HttpHeaderData.cc.

References regex_rule.

Member Function Documentation

◆ dump() [1/2]

SBufList ACLHTTPHeaderData::dump ( ) const
override

Definition at line 58 of file HttpHeaderData.cc.

References ACLData< M >::dump(), hdrName, and regex_rule.

◆ dump() [2/2]

virtual SBufList ACLData< const HttpHeader & >::dump
pure virtualinherited

◆ empty() [1/2]

bool ACLHTTPHeaderData::empty ( ) const
override

◆ empty() [2/2]

virtual bool ACLData< const HttpHeader & >::empty
pure virtualinherited

◆ lineOptions()

const Acl::Options & ACLHTTPHeaderData::lineOptions ( )
overrideprivatevirtual

Reimplemented from ACLData< const HttpHeader & >.

Definition at line 67 of file HttpHeaderData.cc.

References ACLData< M >::lineOptions(), and regex_rule.

◆ match()

bool ACLHTTPHeaderData::match ( const HttpHeader hdr)
overridevirtual

◆ MEMPROXY_CLASS()

ACLHTTPHeaderData::MEMPROXY_CLASS ( ACLHTTPHeaderData  )
private

◆ parse()

◆ prepareForUse()

virtual void ACLData< const HttpHeader & >::prepareForUse
inlinevirtualinherited

Definition at line 31 of file Data.h.

Member Data Documentation

◆ hdrId

Http::HdrType ACLHTTPHeaderData::hdrId
private

set if header is known

Definition at line 33 of file HttpHeaderData.h.

Referenced by empty(), match(), and parse().

◆ hdrName

SBuf ACLHTTPHeaderData::hdrName
private

always set

Definition at line 34 of file HttpHeaderData.h.

Referenced by dump(), empty(), match(), and parse().

◆ regex_rule

ACLData<char const *>* ACLHTTPHeaderData::regex_rule
private

Definition at line 35 of file HttpHeaderData.h.

Referenced by dump(), empty(), lineOptions(), match(), parse(), and ~ACLHTTPHeaderData().


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

 

Introduction

Documentation

Support

Miscellaneous