You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "cda (Jira)" <ji...@apache.org> on 2019/11/06 18:23:00 UTC
[jira] [Created] (HTTPCLIENT-2025) URIBuilder clone
cda created HTTPCLIENT-2025:
-------------------------------
Summary: URIBuilder clone
Key: HTTPCLIENT-2025
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2025
Project: HttpComponents HttpClient
Issue Type: Improvement
Affects Versions: 4.5.10
Reporter: cda
Please provide a method to clone an *URIBuilder* instance using *Cloneable* interface or a copy constructor.
*Use case*: need to modify and return a new instance without altering current instance. Currently, I have to use *new URIBuilder(uriBuilder.toString())* which is relative expensive compared to cloning fields.
+ need to implement *equals* and *hashCode*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org