2 * Copyright (C) 1996-2014 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_ACLHTTPREPHEADER_H
10 #define SQUID_ACLHTTPREPHEADER_H
12 #include "acl/Strategised.h"
13 #include "acl/Strategy.h"
14 #include "HttpHeader.h"
17 class ACLHTTPRepHeaderStrategy
: public ACLStrategy
<HttpHeader
*>
21 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
22 virtual bool requiresReply() const { return true; }
24 static ACLHTTPRepHeaderStrategy
*Instance();
26 * Not implemented to prevent copies of the instance.
28 * Not private to prevent brain dead g+++ warnings about
29 * private constructors with no friends
31 ACLHTTPRepHeaderStrategy(ACLHTTPRepHeaderStrategy
const &);
34 static ACLHTTPRepHeaderStrategy Instance_
;
35 ACLHTTPRepHeaderStrategy() { }
37 ACLHTTPRepHeaderStrategy
&operator = (ACLHTTPRepHeaderStrategy
const &);
41 class ACLHTTPRepHeader
45 static ACL::Prototype RegistryProtoype
;
46 static ACLStrategised
<HttpHeader
*> RegistryEntry_
;
49 #endif /* SQUID_ACLHTTPREPHEADER_H */