Squid Web Cache master
Loading...
Searching...
No Matches
Url.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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_SRC_ACL_URL_H
10#define SQUID_SRC_ACL_URL_H
11
12#include "acl/Data.h"
14
15namespace Acl
16{
17
19class UrlCheck: public ParameterizedNode< ACLData<const char *> >
20{
21public:
22 /* Acl::Node API */
23 int match(ACLChecklist *) override;
24 bool requiresRequest() const override {return true;}
25};
26
27} // namespace Acl
28
29#endif /* SQUID_SRC_ACL_URL_H */
30
a "url_regex" ACL
Definition Url.h:20
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
Definition Url.h:24
int match(ACLChecklist *) override
Matches the actual data in checklist against this Acl::Node.
Definition Url.cc:18
Definition Acl.cc:33