]>
Commit | Line | Data |
---|---|---|
5dee515e | 1 | /* |
77b1029d | 2 | * Copyright (C) 1996-2020 The Squid Software Foundation and contributors |
5dee515e | 3 | * |
bbc27441 AJ |
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. | |
5dee515e | 7 | */ |
8 | ||
b0dd28ba | 9 | #ifndef SQUID_ACLMETHOD_H |
10 | #define SQUID_ACLMETHOD_H | |
63be0a78 | 11 | |
602d9612 | 12 | #include "acl/Strategy.h" |
f35c0145 | 13 | #include "http/RequestMethod.h" |
5dee515e | 14 | |
63be0a78 | 15 | /// \ingroup ACLAPI |
60745f24 | 16 | class ACLMethodStrategy : public ACLStrategy<HttpRequestMethod> |
62e76326 | 17 | { |
18 | ||
19 | public: | |
4eac3407 | 20 | virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *); |
b0dd28ba | 21 | virtual bool requiresRequest() const {return true;} |
b0dd28ba | 22 | }; |
5dee515e | 23 | |
b0dd28ba | 24 | #endif /* SQUID_ACLMETHOD_H */ |
f53969cc | 25 |