Gotcha. I found URLEncodedUtils a couple hours after I sent the first message (of course)...
Thanks, Tom olegk wrote: > > TomStrummer wrote: >> Hi, >> >> I'm trying to figure out how to add query parameters, i.e. to a HttpGet. >> In >> HttpClient 3x you had this handy HttpMethodBase.setQueryString which is >> exactly what I'm looking for... Unfortunately it doesn't seem to exist >> in >> v4. > > Please take a look at URLEncodedUtils and URIUtils classes. > > I know I can manipulate the URI directly but that is a real pain >> compared to a method that takes a list. >> >> Why did this get removed from HttpClient 4? >> > > Because 3.x API was a complete mess. > > Oleg > >> Thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/setQueryString-in-HttpClient-4--tp20872942p20884365.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
