X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_http_rewrite.hpp;h=7504f89901d0257d8af4e8d0d0e2f1a5475e91ac;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=58de9d9d25cb1dc5c7afdba8fe0884c30093ea09;hpb=3ea5cbf51b66f787daac04cd6c625c217e09080e;p=metaproxy-moved-to-github.git diff --git a/src/filter_http_rewrite.hpp b/src/filter_http_rewrite.hpp index 58de9d9..7504f89 100644 --- a/src/filter_http_rewrite.hpp +++ b/src/filter_http_rewrite.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2013 Index Data + Copyright (C) Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -28,19 +28,21 @@ namespace mp = metaproxy_1; namespace metaproxy_1 { namespace filter { class HttpRewrite : public Base { - class Section; + class Phase; + class Content; class Replace; - class Rule; class Within; - typedef boost::shared_ptr RulePtr; - boost::scoped_ptr
req_section; - boost::scoped_ptr
res_section; - void configure_section(const xmlNode *ptr, Section §ion); + class Event; + boost::scoped_ptr req_phase; + boost::scoped_ptr res_phase; + void configure_phase(const xmlNode *ptr, Phase &phase); public: + class Rule; + typedef boost::shared_ptr RulePtr; HttpRewrite(); ~HttpRewrite(); void process(metaproxy_1::Package & package) const; - void configure(const xmlNode * ptr, + void configure(const xmlNode * ptr, bool test_only, const char *path); }; }