#include <HttpHeaderData.h>

Inheritance diagram for ACLHTTPHeaderData:
Collaboration diagram for ACLHTTPHeaderData:

Public Member Functions

 ACLHTTPHeaderData ()
 
 ~ACLHTTPHeaderData () override
 
bool match (HttpHeader *hdr) override
 
SBufList dump () const override
 
void parse () override
 
bool empty () const override
 
virtual void prepareForUse ()
 

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

SBufList ACLHTTPHeaderData::dump ( ) const
overridevirtual

Implements ACLData< HttpHeader * >.

Definition at line 61 of file HttpHeaderData.cc.

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

◆ empty()

bool ACLHTTPHeaderData::empty ( ) const
overridevirtual

◆ lineOptions()

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

Reimplemented from ACLData< HttpHeader * >.

Definition at line 70 of file HttpHeaderData.cc.

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

◆ match()

bool ACLHTTPHeaderData::match ( HttpHeader hdr)
overridevirtual

◆ MEMPROXY_CLASS()

ACLHTTPHeaderData::MEMPROXY_CLASS ( ACLHTTPHeaderData  )
private

◆ parse()

◆ prepareForUse()

virtual void ACLData< 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 ~ACLHTTPHeaderData(), dump(), empty(), lineOptions(), match(), and parse().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors