HttpHeaderData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_ACLHTTPHEADERDATA_H
10 #define SQUID_ACLHTTPHEADERDATA_H
11 
12 #include "acl/Data.h"
13 #include "HttpHeader.h"
14 #include "sbuf/SBuf.h"
15 #include "SquidString.h"
16 
17 class ACLHTTPHeaderData : public ACLData<HttpHeader*>
18 {
20 
21 public:
23  virtual ~ACLHTTPHeaderData();
24  virtual bool match(HttpHeader* hdr);
25  virtual SBufList dump() const;
26  virtual void parse();
27  virtual bool empty() const;
28 
29 private:
30  /* ACLData API */
31  virtual const Acl::Options &lineOptions();
32 
36 };
37 
38 #endif /* SQUID_ACLHTTPHEADERDATA_H */
39 
std::vector< const Option * > Options
Definition: Options.h:214
virtual const Acl::Options & lineOptions()
supported ACL "line" options (e.g., "-i")
std::list< SBuf > SBufList
Definition: forward.h:22
Definition: SBuf.h:87
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
Http::HdrType hdrId
ACLData< char const * > * regex_rule
virtual ~ACLHTTPHeaderData()
virtual void parse()
virtual bool match(HttpHeader *hdr)
virtual bool empty() const
MEMPROXY_CLASS(ACLHTTPHeaderData)
virtual SBufList dump() const

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors