hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Lightbody <patr...@lightbody.net>
Subject Building up GET query params dynamically
Date Tue, 06 Sep 2011 22:31:33 GMT
I need to build up some GET query parameters dynamically (it's for an API wrapper). Is there
some nice helper API that can let me just specify the parameters as simple name/value pairs
and it'll turn it in to a nice query parameter string?

In 3.x there was method.setQueryString()[1] but I can't find an equivalent.



[1] http://stackoverflow.com/questions/217070/how-do-i-add-query-parameters-to-a-getmethod-using-java-commons-httpclient

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message