metaproxy  1.21.0
Public Member Functions | Public Attributes | List of all members
metaproxy_1::filter::HttpRewrite::Within Class Reference
Collaboration diagram for metaproxy_1::filter::HttpRewrite::Within:
Collaboration graph

Public Member Functions

bool exec (std::map< std::string, std::string > &vars, std::string &txt, bool anchor, std::list< boost::regex > &skip_list) const
 

Public Attributes

boost::regex header
 
boost::regex attr
 
boost::regex tag
 
std::string type
 
bool reqline
 
RulePtr rule
 

Detailed Description

Definition at line 60 of file filter_http_rewrite.cpp.

Member Function Documentation

◆ exec()

bool mp::filter::HttpRewrite::Within::exec ( std::map< std::string, std::string > &  vars,
std::string &  txt,
bool  anchor,
std::list< boost::regex > &  skip_list 
) const

Definition at line 548 of file filter_http_rewrite.cpp.

552 {
553  if (type == "quoted-literal")
554  {
555  return embed_quoted_literal(txt, vars, rule, true, skip_list);
556  }
557  else
558  {
559  return rule->test_patterns(vars, txt, anchor, skip_list);
560  }
561 }
static bool embed_quoted_literal(std::string &content, std::map< std::string, std::string > &vars, mp::filter::HttpRewrite::RulePtr ruleptr, bool html_context, std::list< boost::regex > &skip_list)

References embed_quoted_literal().

Here is the call graph for this function:

Member Data Documentation

◆ attr

boost::regex metaproxy_1::filter::HttpRewrite::Within::attr

◆ header

boost::regex metaproxy_1::filter::HttpRewrite::Within::header

◆ reqline

bool metaproxy_1::filter::HttpRewrite::Within::reqline

◆ rule

RulePtr metaproxy_1::filter::HttpRewrite::Within::rule

◆ tag

boost::regex metaproxy_1::filter::HttpRewrite::Within::tag

◆ type

std::string metaproxy_1::filter::HttpRewrite::Within::type

The documentation for this class was generated from the following file: