squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
acl
MethodData.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_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
{
20
MEMPROXY_CLASS
(
ACLMethodData
);
21
22
public
:
23
ACLMethodData
() {}
24
virtual
~ACLMethodData
();
25
bool
match
(
HttpRequestMethod
);
26
virtual
SBufList
dump
()
const
;
27
void
parse
();
28
bool
empty
()
const
{
return
values
.empty();}
29
30
std::list<HttpRequestMethod>
values
;
31
32
static
int
ThePurgeCount
;
33
};
34
35
#endif
/* SQUID_ACLMETHODDATA_H */
36
Data.h
RequestMethod.h
Acl.h
ACLData
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition:
Data.h:18
ACLMethodData
Definition:
MethodData.h:19
ACLMethodData::empty
bool empty() const
Definition:
MethodData.h:28
ACLMethodData::values
std::list< HttpRequestMethod > values
Definition:
MethodData.h:30
ACLMethodData::parse
void parse()
Definition:
MethodData.cc:50
ACLMethodData::MEMPROXY_CLASS
MEMPROXY_CLASS(ACLMethodData)
ACLMethodData::match
bool match(HttpRequestMethod)
Definition:
MethodData.cc:25
ACLMethodData::~ACLMethodData
virtual ~ACLMethodData()
Definition:
MethodData.cc:19
ACLMethodData::ThePurgeCount
static int ThePurgeCount
PURGE methods seen by parse()
Definition:
MethodData.h:32
ACLMethodData::dump
virtual SBufList dump() const
Definition:
MethodData.cc:39
ACLMethodData::ACLMethodData
ACLMethodData()
Definition:
MethodData.h:23
HttpRequestMethod
Definition:
RequestMethod.h:27
SBufList
std::list< SBuf > SBufList
Definition:
forward.h:22
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive