]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/MethodData.h
bf18311323714807bfd6285c5ff98b67ba0b3770
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLMETHODDATA_H
10 #define SQUID_ACLMETHODDATA_H
14 #include "http/RequestMethod.h"
18 class ACLMethodData
: public ACLData
<HttpRequestMethod
>
20 MEMPROXY_CLASS(ACLMethodData
);
24 ACLMethodData(ACLMethodData
const &);
25 ACLMethodData
&operator= (ACLMethodData
const &);
26 virtual ~ACLMethodData();
27 bool match(HttpRequestMethod
);
28 virtual SBufList
dump() const;
30 bool empty() const {return values
.empty();}
31 virtual ACLData
<HttpRequestMethod
> *clone() const;
33 std::list
<HttpRequestMethod
> values
;
35 static int ThePurgeCount
; ///< PURGE methods seen by parse()
38 #endif /* SQUID_ACLMETHODDATA_H */