Add an entry to paramsBuilder with key-value pairing of (headerKey, fieldValue). The only
validation done is to ensure the headerKey and fieldValue are not null and non-empty. This
method is used for implicit routing headers (backwards compatibility).
Add an entry to paramsBuilder by match-and-extract field values from requests based on
pre-configured path templates. This method is called repeatedly for each configured routing
rule parameter, it's possible that the incoming field value from request is null or there is no
matches found, we'll continue the match-and-extract process for the next routing rule parameter
in such case.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eRequestParamsBuilder\u003c/code\u003e class, version 2.31.1, within the Google API Client Libraries for Java (gax).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestParamsBuilder\u003c/code\u003e class constructs a map of request parameters utilized by the auto-generated \u003ccode\u003eRequestParamsExtractor\u003c/code\u003e implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the class is 2.63.1 and there are numerous prior versions of the class listed for the user to examine, going as far back as version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestParamsBuilder\u003c/code\u003e has static and instance methods, one static method \u003ccode\u003ecreate()\u003c/code\u003e, which returns a \u003ccode\u003eRequestParamsBuilder\u003c/code\u003e, and the instance methods are \u003ccode\u003eadd()\u003c/code\u003e for key-value pairing of (headerKey, fieldValue), another \u003ccode\u003eadd()\u003c/code\u003e for matching and extracting values, and lastly \u003ccode\u003ebuild()\u003c/code\u003e which returns a Map type.\u003c/p\u003e\n"]]],[],null,[]]