]> git.ipfire.org Git - thirdparty/squid.git/blame - src/adaptation/ServiceFilter.h
Support adaptation sets and chains, including dynamic ICAP chains:
[thirdparty/squid.git] / src / adaptation / ServiceFilter.h
CommitLineData
a22e6cd3
AR
1#ifndef SQUID_ADAPTATION__SERVICE_FILTER_H
2#define SQUID_ADAPTATION__SERVICE_FILTER_H
3
4#include "adaptation/Elements.h"
5
6class HttpRequest;
7class HttpReply;
8
9namespace Adaptation
10{
11
12/// information used to search for adaptation services
13class ServiceFilter
14{
15public:
16 ServiceFilter(Method, VectPoint, HttpRequest *, HttpReply *); // locks
17 ServiceFilter(const ServiceFilter &f);
18 ~ServiceFilter(); // unlocks
19
20 ServiceFilter &operator =(const ServiceFilter &f);
21
22public:
23 Method method; ///< adaptation direction
24 VectPoint point; ///< adaptation location
25 HttpRequest *request; ///< HTTP request being adapted or cause; may be nil
26 HttpReply *reply; ///< HTTP response being adapted; may be nil
27};
28
29} // namespace Adaptation
30
31#endif /* SQUID_ADAPTATION__SERVICE_FILTER_H */