hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob R Quant <jacob.r.qu...@ampf.com>
Subject Since URIBuilder.setQuery is deprecated shouldn't clearQuery also be deprecated?
Date Wed, 30 Oct 2013 18:00:47 GMT
It seems like the preferred way to manipulate the query string associated with a URI when using
org.apache.http.client.utils.URIBuilder is using the [set|clear|add]Parameter[s] methods rather
than the setQuery and removeQuery methods. However, while the setQuery method is deprecated
the removeQuery method is not. Is this an oversight or is there a specific reason for this?
I would like to understand their intended uses better.

BTW, I posted a question about this at StackOverflow.com as well, but I am not sure if members
of this list monitor those or not.

Thanks for your time & for your work on HttpComponents/HttpClient!

****************************************************************************** "This message
and any attachments are solely for the intended recipient and may contain confidential or
privileged information. If you are not the intended recipient, any disclosure, copying, use,
or distribution of the information included in this message and any attachments is prohibited.
If you have received this communication in error, please notify us by reply e-mail and immediately
and permanently delete this message and any attachments. Thank you." ******************************************************************************

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message