MethodData.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_ACLMETHODDATA_H
10#define SQUID_ACLMETHODDATA_H
11
12#include "acl/Acl.h"
13#include "acl/Data.h"
14#include "http/RequestMethod.h"
15
16#include <list>
17
18class ACLMethodData : public ACLData<HttpRequestMethod>
19{
21
22public:
24 ~ACLMethodData() override;
25 bool match(HttpRequestMethod) override;
26 SBufList dump() const override;
27 void parse() override;
28 bool empty() const override {return values.empty();}
29
30 std::list<HttpRequestMethod> values;
31
32 static int ThePurgeCount;
33};
34
35#endif /* SQUID_ACLMETHODDATA_H */
36
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
std::list< HttpRequestMethod > values
Definition: MethodData.h:30
SBufList dump() const override
Definition: MethodData.cc:39
~ACLMethodData() override
Definition: MethodData.cc:19
MEMPROXY_CLASS(ACLMethodData)
static int ThePurgeCount
PURGE methods seen by parse()
Definition: MethodData.h:32
void parse() override
Definition: MethodData.cc:50
bool match(HttpRequestMethod) override
Definition: MethodData.cc:25
bool empty() const override
Definition: MethodData.h:28
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors