In some cases it can be more confortable to use method like this for example if we want build URI like this http://test.uri/resource?param1=123&321¶m2=test
Method setQuery will not escape '&' in param1 value, and so it must be done manual and with using setRawQuery.