Is there a widely-used Java library that does something like what dojo.objectToQuery() does? E.g. (assuming the use of HttpCore\'s HttpParams object, but any key-value mappi
Why reinvent the wheel? Apache HttpClient has URLEncodedUtils:
List params = Arrays.asList(new BasicNameValuePair("\\%^ &=@#:", "\\%^ &=@#:")); String query = URLEncodedUtils.format(params, "UTF-8");