@ Override public void setQueryString ( NameValuePair [ ] params ) { LOG . trace ( "enter HttpMethodBase.setQueryString(NameValuePair[])" ) ; queryString = EncodingUtil . formUrlEncode ( params , "UTF-8" ) ; }
Sets the query string of this HTTP method . The pairs are encoded as UTF - 8 characters . To use a different charset the parameters can be encoded manually using EncodingUtil and set as a single String .