Searched refs:header_matcher (Results 1 – 2 of 2) sorted by relevance
408 const XdsApi::Route::Matchers::HeaderMatcher& header_matcher, in HeaderMatchHelper() argument415 if (absl::EndsWith(header_matcher.name, "-bin") || in HeaderMatchHelper()416 header_matcher.name == "grpc-previous-rpc-attempts") { in HeaderMatchHelper()418 } else if (header_matcher.name == "content-type") { in HeaderMatchHelper()421 value = GetMetadataValue(header_matcher.name, initial_metadata, in HeaderMatchHelper()425 if (header_matcher.type == in HeaderMatchHelper()427 return !header_matcher.present_match; in HeaderMatchHelper()434 switch (header_matcher.type) { in HeaderMatchHelper()436 return value.value() == header_matcher.string_matcher; in HeaderMatchHelper()438 return RE2::FullMatch(value.value().data(), *header_matcher.regex_match); in HeaderMatchHelper()[all …]
277 for (const HeaderMatcher& header_matcher : header_matchers) { in ToString() local278 contents.push_back(header_matcher.ToString()); in ToString()1162 XdsApi::Route::Matchers::HeaderMatcher header_matcher; in RouteHeaderMatchersParse() local1163 header_matcher.name = in RouteHeaderMatchersParse()1166 header_matcher.type = in RouteHeaderMatchersParse()1168 header_matcher.string_matcher = UpbStringToStdString( in RouteHeaderMatchersParse()1182 header_matcher.type = in RouteHeaderMatchersParse()1184 header_matcher.regex_match = std::move(regex); in RouteHeaderMatchersParse()1186 header_matcher.type = in RouteHeaderMatchersParse()1190 header_matcher.range_start = in RouteHeaderMatchersParse()[all …]