HttpHeaderData.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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
17class ACLHTTPHeaderData : public ACLData<HttpHeader*>
18{
20
21public:
23 ~ACLHTTPHeaderData() override;
24 bool match(HttpHeader* hdr) override;
25 SBufList dump() const override;
26 void parse() override;
27 bool empty() const override;
28
29private:
30 /* ACLData API */
31 const Acl::Options &lineOptions() override;
32
36};
37
38#endif /* SQUID_ACLHTTPHEADERDATA_H */
39
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
~ACLHTTPHeaderData() override
SBufList dump() const override
ACLData< char const * > * regex_rule
Http::HdrType hdrId
void parse() override
bool match(HttpHeader *hdr) override
bool empty() const override
const Acl::Options & lineOptions() override
supported ACL "line" options (e.g., "-i")
MEMPROXY_CLASS(ACLHTTPHeaderData)
Definition: SBuf.h:94
std::vector< const Option * > Options
Definition: Options.h:214
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors