#include <HttpHeaderData.h>
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::Options & | lineOptions () 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()
|
override |
Definition at line 33 of file HttpHeaderData.cc.
References regex_rule.
Member Function Documentation
◆ dump()
|
overridevirtual |
Implements ACLData< HttpHeader * >.
Definition at line 61 of file HttpHeaderData.cc.
References ACLData< M >::dump(), hdrName, and regex_rule.
◆ empty()
|
overridevirtual |
Implements ACLData< HttpHeader * >.
Definition at line 84 of file HttpHeaderData.cc.
References Http::BAD_HDR, ACLData< M >::empty(), hdrId, hdrName, SBuf::isEmpty(), and regex_rule.
◆ lineOptions()
|
overrideprivatevirtual |
Reimplemented from ACLData< HttpHeader * >.
Definition at line 70 of file HttpHeaderData.cc.
References ACLData< M >::lineOptions(), and regex_rule.
◆ match()
|
overridevirtual |
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(), regex_rule, and StringToSBuf().
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< HttpHeader * >.
Definition at line 76 of file HttpHeaderData.cc.
References hdrId, hdrName, Http::HeaderLookupTable, Http::HeaderTableRecord::id, Http::HeaderLookupTable_t::lookup(), ACLData< M >::parse(), regex_rule, Acl::SetKey(), 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