#include <HttpHeaderData.h>
![Inheritance graph](classACLHTTPHeaderData__inherit__graph.png)
![Collaboration graph](classACLHTTPHeaderData__coll__graph.png)
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::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() [1/2]
|
override |
Definition at line 58 of file HttpHeaderData.cc.
References ACLData< M >::dump(), hdrName, and regex_rule.
◆ dump() [2/2]
|
pure virtualinherited |
◆ empty() [1/2]
|
override |
Definition at line 81 of file HttpHeaderData.cc.
References Http::BAD_HDR, ACLData< M >::empty(), hdrId, hdrName, SBuf::isEmpty(), and regex_rule.
◆ empty() [2/2]
|
pure virtualinherited |
◆ lineOptions()
|
overrideprivatevirtual |
Reimplemented from ACLData< const HttpHeader & >.
Definition at line 67 of file HttpHeaderData.cc.
References ACLData< M >::lineOptions(), and regex_rule.
◆ match()
|
overridevirtual |
Implements ACLData< const 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< const HttpHeader & >.
Definition at line 73 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 dump(), empty(), lineOptions(), match(), parse(), and ~ACLHTTPHeaderData().
The documentation for this class was generated from the following files:
- src/acl/HttpHeaderData.h
- src/acl/HttpHeaderData.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products