MethodData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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 
18 class ACLMethodData : public ACLData<HttpRequestMethod>
19 {
21 
22 public:
26  virtual ~ACLMethodData();
28  virtual SBufList dump() const;
29  void parse();
30  bool empty() const {return values.empty();}
31  virtual ACLData<HttpRequestMethod> *clone() const;
32 
33  std::list<HttpRequestMethod> values;
34 
35  static int ThePurgeCount;
36 };
37 
38 #endif /* SQUID_ACLMETHODDATA_H */
39 
void parse()
Definition: MethodData.cc:55
bool empty() const
Definition: MethodData.h:30
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
bool match(HttpRequestMethod)
Definition: MethodData.cc:30
static int ThePurgeCount
PURGE methods seen by parse()
Definition: MethodData.h:35
ACLMethodData & operator=(ACLMethodData const &)
virtual ~ACLMethodData()
Definition: MethodData.cc:24
std::list< SBuf > SBufList
Definition: forward.h:22
virtual SBufList dump() const
Definition: MethodData.cc:44
MEMPROXY_CLASS(ACLMethodData)
std::list< HttpRequestMethod > values
Definition: MethodData.h:33
virtual ACLData< HttpRequestMethod > * clone() const
Definition: MethodData.cc:67

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors