ServiceFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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_ADAPTATION_SERVICEFILTER_H
10 #define SQUID_SRC_ADAPTATION_SERVICEFILTER_H
11 
12 #include "AccessLogEntry.h"
13 #include "adaptation/Elements.h"
14 
15 class HttpRequest;
16 class HttpReply;
17 
18 namespace Adaptation
19 {
20 
23 {
24 public:
26  ServiceFilter(const ServiceFilter &f);
27  ~ServiceFilter(); // unlocks
28 
30 
31 public:
37 };
38 
39 std::ostream &operator <<(std::ostream &, const ServiceFilter &);
40 
41 } // namespace Adaptation
42 
43 #endif /* SQUID_SRC_ADAPTATION_SERVICEFILTER_H */
44 
ServiceFilter & operator=(const ServiceFilter &f)
information used to search for adaptation services
Definition: ServiceFilter.h:22
ServiceFilter(Method, VectPoint, HttpRequest *, HttpReply *, AccessLogEntry::Pointer const &al)
VectPoint point
adaptation location
Definition: ServiceFilter.h:33
HttpRequest * request
HTTP request being adapted or cause; may be nil.
Definition: ServiceFilter.h:34
HttpReply * reply
HTTP response being adapted; may be nil.
Definition: ServiceFilter.h:35
std::ostream & operator<<(std::ostream &os, const Answer &answer)
Definition: Answer.h:54
Method method
adaptation direction
Definition: ServiceFilter.h:32
AccessLogEntry::Pointer al
info for the future access.log entry
Definition: ServiceFilter.h:36

 

Introduction

Documentation

Support

Miscellaneous