#include <HttpHeaderData.h>


Public Member Functions | |
ACLHTTPHeaderData () | |
virtual | ~ACLHTTPHeaderData () |
virtual bool | match (HttpHeader *hdr) |
virtual SBufList | dump () const |
virtual void | parse () |
virtual bool | empty () const |
virtual SBufList | dump () const=0 |
virtual void | prepareForUse () |
virtual bool | empty () const=0 |
Private Member Functions | |
MEMPROXY_CLASS (ACLHTTPHeaderData) | |
virtual const Acl::Options & | lineOptions () |
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()
|
virtual |
Definition at line 33 of file HttpHeaderData.cc.
References regex_rule.
Member Function Documentation
◆ dump() [1/2]
|
virtual |
Definition at line 61 of file HttpHeaderData.cc.
References ACLData< M >::dump(), hdrName, and regex_rule.
◆ dump() [2/2]
|
pure virtualinherited |
◆ empty() [1/2]
|
virtual |
Definition at line 98 of file HttpHeaderData.cc.
References Http::BAD_HDR, ACLData< M >::empty(), hdrId, hdrName, SBuf::isEmpty(), and regex_rule.
◆ empty() [2/2]
|
pure virtualinherited |
◆ lineOptions()
|
privatevirtual |
Reimplemented from ACLData< HttpHeader * >.
Definition at line 70 of file HttpHeaderData.cc.
References ACLData< M >::lineOptions(), and regex_rule.
◆ match()
|
virtual |
Implements ACLData< HttpHeader * >.
Definition at line 39 of file HttpHeaderData.cc.
References Http::BAD_HDR, debugs, HttpHeader::getStrOrList(), HttpHeader::has(), HttpHeader::hasNamed(), hdrId, hdrName, ACLData< M >::match(), NULL, regex_rule, and StringToSBuf().
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
virtual |
Implements ACLData< HttpHeader * >.
Definition at line 76 of file HttpHeaderData.cc.
References SBuf::caseCmp(), cfg_filename, config_input_line, config_lineno, DBG_CRITICAL, debugs, hdrId, hdrName, Http::HeaderLookupTable, Http::HeaderTableRecord::id, SBuf::isEmpty(), Http::HeaderLookupTable_t::lookup(), ACLData< M >::parse(), regex_rule, and ConfigParser::strtokFile().
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ hdrId
|
private |
set if header is known
Definition at line 33 of file HttpHeaderData.h.
◆ hdrName
|
private |
◆ 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:
- src/acl/HttpHeaderData.h
- src/acl/HttpHeaderData.cc